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