summaryrefslogtreecommitdiff
path: root/data/diskdev-cmds
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
commitea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch)
tree6826a5266d78c22210c194772a8daed06ef0a19c /data/diskdev-cmds
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/diskdev-cmds')
-rw-r--r--data/diskdev-cmds/_metadata/description2
l---------data/diskdev-cmds/_metadata/libutil.dep1
l---------data/diskdev-cmds/_metadata/license1
l---------data/diskdev-cmds/_metadata/maintainer1
-rw-r--r--data/diskdev-cmds/_metadata/priority1
-rw-r--r--data/diskdev-cmds/_metadata/section1
-rw-r--r--data/diskdev-cmds/_metadata/version1
-rw-r--r--data/diskdev-cmds/diskdev_cmds-419.tar.gzbin0 -> 693773 bytes
-rw-r--r--data/diskdev-cmds/make.sh20
9 files changed, 28 insertions, 0 deletions
diff --git a/data/diskdev-cmds/_metadata/description b/data/diskdev-cmds/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/diskdev-cmds/_metadata/libutil.dep b/data/diskdev-cmds/_metadata/libutil.dep
new file mode 120000
index 000000000..828c65dfc
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/libutil.dep
@@ -0,0 +1 @@
+../../libutil \ No newline at end of file
diff --git a/data/diskdev-cmds/_metadata/license b/data/diskdev-cmds/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/diskdev-cmds/_metadata/maintainer b/data/diskdev-cmds/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/diskdev-cmds/_metadata/priority b/data/diskdev-cmds/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/diskdev-cmds/_metadata/section b/data/diskdev-cmds/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/diskdev-cmds/_metadata/version b/data/diskdev-cmds/_metadata/version
new file mode 100644
index 000000000..7b53aa000
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/version
@@ -0,0 +1 @@
+419
diff --git a/data/diskdev-cmds/diskdev_cmds-419.tar.gz b/data/diskdev-cmds/diskdev_cmds-419.tar.gz
new file mode 100644
index 000000000..0ad8555e9
--- /dev/null
+++ b/data/diskdev-cmds/diskdev_cmds-419.tar.gz
Binary files differ
diff --git a/data/diskdev-cmds/make.sh b/data/diskdev-cmds/make.sh
new file mode 100644
index 000000000..469b34568
--- /dev/null
+++ b/data/diskdev-cmds/make.sh
@@ -0,0 +1,20 @@
+shopt -s extglob
+tar -zxvf "${PKG_DATA}/diskdev_cmds-419.tar.gz"
+cd diskdev_cmds-419
+cd disklib
+rm -f mntopts.h getmntopts.c
+arm-apple-darwin-gcc -c *.c
+arm-apple-darwin-ar -r libdisk.a *.o
+cd ..
+for tproj in !(fstyp|dev_mkdb|dump|fsck_hfs|fuser|mount_hfs|restore|quotacheck|ufs).tproj; do
+ tproj=$(basename "${tproj}" .tproj)
+ echo ${tproj}
+ arm-apple-darwin-gcc -Idisklib -o "${tproj}" $(find "${tproj}.tproj" -name '*.c') disklib/libdisk.a -framework IOKit -framework CoreFoundation -lutil
+ pkg:usrbin "${tproj}"
+done
+cd fstyp.tproj
+for c in *.c; do
+ bin=$(basename "${c}" .c)
+ arm-apple-darwin-gcc -o "${bin}" "${c}"
+ pkg:usrbin "${bin}"
+done