diff options
author | Jay Freeman <saurik@saurik.com> | 2008-04-06 10:28:29 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-04-06 10:28:29 +0000 |
commit | d699a01fabaa04a1aad60f6ca5777f82ee24839a (patch) | |
tree | 1eb62bad23b14a0877c5b9171f2a5f9358c8d592 /data/unrar | |
parent | 8a49e427447f40fdd43fc4b5f513b166dd639e2a (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')
-rw-r--r-- | data/unrar/make.sh | 9 | ||||
-rw-r--r-- | data/unrar/strip.diff | 17 |
2 files changed, 22 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 diff --git a/data/unrar/strip.diff b/data/unrar/strip.diff new file mode 100644 index 000000000..7773b0374 --- /dev/null +++ b/data/unrar/strip.diff @@ -0,0 +1,17 @@ +diff -ru unrar/makefile.unix unrar+iPhone/makefile.unix +--- unrar/makefile.unix 2005-04-30 07:00:12.000000000 +0000 ++++ unrar+iPhone/makefile.unix 2008-04-04 20:59:42.000000000 +0000 +@@ -105,13 +105,11 @@ + unrar: $(OBJECTS) $(UNRAR_OBJ) + @rm -f unrar + $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS) +- $(STRIP) unrar + + sfx: WHAT=SFX_MODULE + sfx: $(OBJECTS) + @rm -f default.sfx + $(LINK) -o default.sfx $(LDFLAGS) $(OBJECTS) +- $(STRIP) default.sfx + + lib: WHAT=RARDLL + lib: $(OBJECTS) $(LIB_OBJ) |