]> git.saurik.com Git - ldid.git/blob - deb.sh
Avoid using minimal/string.h (prefer std::string).
[ldid.git] / deb.sh
1 #!/bin/bash
2 rm -rf _
3 mkdir -p _/usr/bin
4 cp -a ios/ldid _/usr/bin/ldid
5 mkdir -p _/DEBIAN
6 ./control.sh _ >_/DEBIAN/control
7 mkdir -p debs
8 ln -sf debs/ldid_$(./version.sh)_iphoneos-arm.deb ldid.deb
9 dpkg-deb -b _ ldid.deb
10 readlink ldid.deb