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