]> git.saurik.com Git - ldid.git/blob - ios.sh
Add special cases to support old codesign_allocate.
[ldid.git] / ios.sh
1 #!/bin/bash
2
3 set -e -x
4
5 cycc -i2.0 -m10.5 -oldid.arm -- ldid.cpp sha1.c -x c lookup2.c -I .
6
7 rm -rf _
8 mkdir -p _/usr/bin
9 cp -a ldid.arm _/usr/bin/ldid
10 mkdir -p _/DEBIAN
11 ./control.sh _ >_/DEBIAN/control
12 mkdir -p debs
13 ln -sf debs/ldid_$(./version.sh)_iphoneos-arm.deb ldid.deb
14 dpkg-deb -b _ ldid.deb
15 readlink ldid.deb