summaryrefslogtreecommitdiff
path: root/data/xpwn/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-08-10 06:56:29 +0000
committerJay Freeman <saurik@saurik.com>2009-08-10 06:56:29 +0000
commit7b11ab1941829cba87fb3f2c6f7a36cc39df4378 (patch)
tree47e82045ae8e9351267330c32555c4474006e2c2 /data/xpwn/make.sh
parent4aa76fbd4f69361bc3de04fb899d208b2f9414c7 (diff)
We like XPwn, go go go\!
git-svn-id: http://svn.telesphoreo.org/trunk@656 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/xpwn/make.sh')
-rw-r--r--data/xpwn/make.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/xpwn/make.sh b/data/xpwn/make.sh
new file mode 100644
index 000000000..0be4c2930
--- /dev/null
+++ b/data/xpwn/make.sh
@@ -0,0 +1,7 @@
+pkg:setup
+mkdir binary
+"${PKG_TARG}"-gcc -o binary/xpwntool -Iincludes common/abstractfile.c -lcrypto ipsw-patch/{8900,ibootim,img2,img3,libxpwn,lzss,lzssfile,nor_files,xpwntool}.c -lpng -lz
+"${PKG_TARG}"-gcc -o binary/dmg -DHAVE_CRYPT {common/*,dmg/!(win32test),hfs/!(hfs)}.c -Iincludes -lz -lcrypto
+"${PKG_TARG}"-gcc -o binary/hfs {common,hfs}/*.c -Iincludes -lz
+pkg: mkdir -p /usr/bin
+pkg: cp -a binary/* /usr/bin