summaryrefslogtreecommitdiff
path: root/data/network-cmds/make.sh
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/network-cmds/make.sh
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/network-cmds/make.sh')
-rw-r--r--data/network-cmds/make.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/data/network-cmds/make.sh b/data/network-cmds/make.sh
new file mode 100644
index 000000000..bded00874
--- /dev/null
+++ b/data/network-cmds/make.sh
@@ -0,0 +1,10 @@
+shopt -s extglob
+tar -zxvf "${PKG_DATA}/network_cmds-306.tar.gz"
+cd network_cmds-306
+for tproj in !(natd|spray).tproj; do
+ tproj=$(basename "${tproj}" .tproj)
+ arm-apple-darwin-gcc -o "${tproj}" "${tproj}.tproj"/*.c -DPRIVATE -Dether_ntohost=_old_ether_ntohost
+ pkg:usrbin "${tproj}"
+done
+arm-apple-darwin-gcc -Ialias -o natd natd.tproj/*.c alias/*.c -DPRIVATE
+pkg:usrbin natd