]> git.saurik.com Git - ldid.git/blame - ios.sh
Remove some thankfully now-obsolete UNIX includes.
[ldid.git] / ios.sh
CommitLineData
a5b37447
JF
1#!/bin/bash
2
3set -e -x
4
4374152f
JF
5cycc -i2.0 -oldid.arm -- -c -std=c++11 ldid.cpp -I.
6cycc -i2.0 -oldid.arm -- ldid.arm -x c sha1.c lookup2.c -I .
a5b37447
JF
7
8rm -rf _
9mkdir -p _/usr/bin
9b4ef9a5 10cp -a ldid.arm _/usr/bin/ldid
a5b37447
JF
11mkdir -p _/DEBIAN
12./control.sh _ >_/DEBIAN/control
13mkdir -p debs
14ln -sf debs/ldid_$(./version.sh)_iphoneos-arm.deb ldid.deb
15dpkg-deb -b _ ldid.deb
16readlink ldid.deb