This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# clone theos.git | |
cd ~ | |
git clone git://github.com/DHowett/theos.git | |
# clone iphoneheaders.git | |
cd ~/theos/ | |
mv include include.bak | |
git clone git://github.com/rpetrich/iphoneheaders.git include | |
for FILE in include.bak/*.h; do mv $FILE include/; done | |
rmdir include.bak/ | |
# get IOSurfaceAPI.h | |
cd ~/theos/include/IOSurface/ | |
curl -O https://raw.github.com/javacom/toolchain4/master/Projects/IOSurfaceAPI.h | |
# clone theos-nic-templates.git | |
cd ~/theos/templates/ | |
git clone git://github.com/orikad/theos-nic-templates.git | |
# get dpkg-deb for Mac OS X | |
cd ~/theos | |
curl -O http://test.saurik.com/francis/dpkg-deb-fat | |
chmod a+x dpkg-deb-fat | |
sudo mkdir -p /usr/local/bin | |
sudo mv dpkg-deb-fat /usr/local/bin/dpkg-deb | |
# get ldid for Mac OS X | |
cd ~/theos/bin | |
curl -O http://dl.dropbox.com/u/3157793/ldid | |
chmod a+x ldid | |
# get libsubstrate.dylib | |
cd ~/theos | |
curl -OL http://apt.saurik.com/debs/mobilesubstrate_0.9.3366-1_iphoneos-arm.deb | |
dpkg-deb -x mobilesubstrate_0.9.3366-1_iphoneos-arm.deb mobilesubstrate | |
cp mobilesubstrate/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate ~/theos/lib/libsubstrate.dylib |
댓글 없음:
댓글 쓰기