diff options
author | Jay Freeman <saurik@saurik.com> | 2008-01-01 05:58:43 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-01-01 05:58:43 +0000 |
commit | ea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch) | |
tree | 6826a5266d78c22210c194772a8daed06ef0a19c /data/network-cmds/make.sh | |
parent | a45e85d54e8df7a333946cc52fec519fc6aa4d87 (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.sh | 10 |
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 |