summaryrefslogtreecommitdiff
path: root/data/unrar/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
committerJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
commitd699a01fabaa04a1aad60f6ca5777f82ee24839a (patch)
tree1eb62bad23b14a0877c5b9171f2a5f9358c8d592 /data/unrar/make.sh
parent8a49e427447f40fdd43fc4b5f513b166dd639e2a (diff)
Drastic, sweeping modifications to support iPhone 1.2.0/2.0.
git-svn-id: http://svn.telesphoreo.org/trunk@199 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/unrar/make.sh')
-rw-r--r--data/unrar/make.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/data/unrar/make.sh b/data/unrar/make.sh
index 916b2a9ae..ab228ce28 100644
--- a/data/unrar/make.sh
+++ b/data/unrar/make.sh
@@ -1,5 +1,6 @@
-tar -zxvf "${PKG_DATA}/unrarsrc-3.6.8.tar.gz"
-cd unrar
+pkg:extract
+cd *
pkg:patch
-make -f makefile.unix CXX=arm-apple-darwin-g++ STRIP=arm-apple-darwin-strip all
-pkg:usrbin unrar
+make -f makefile.unix CXX="${PKG_TARG}-g++" all
+pkg: mkdir -p /usr/bin
+pkg: cp -a unrar /usr/bin