]>
Commit | Line | Data |
---|---|---|
a5b37447 JF |
1 | #!/bin/bash |
2 | ||
3 | set -e -x | |
4 | ||
4374152f JF |
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 . | |
a5b37447 JF |
7 | |
8 | rm -rf _ | |
9 | mkdir -p _/usr/bin | |
9b4ef9a5 | 10 | cp -a ldid.arm _/usr/bin/ldid |
a5b37447 JF |
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 |