]> git.saurik.com Git - cydia.git/commitdiff
Use dpkg-deb -z to specify compression type.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 14 Dec 2010 22:50:42 +0000 (14:50 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 1 Jan 2011 22:32:07 +0000 (14:32 -0800)
makefile

index 095831ec04240e46d6b171ca1fe217504834bfc4..d437f41bec5123ef5e3dfc25293dcdf3d168f1ca 100644 (file)
--- a/makefile
+++ b/makefile
@@ -12,8 +12,16 @@ endif
 flags := 
 link := 
 
-#dpkg := /Library/Cydia/bin/dpkg-deb -Zlzma
+ifeq (o,O) # gzip is actually better
+dpkg := /Library/Cydia/bin/dpkg-deb
+ifeq ($(wildcard $(dpkg)),$(dpkg))
+dpkg := $(dpkg) -zlzma
+else
+dpkg := dpkg-deb -zbzip2
+endif
+else
 dpkg := dpkg-deb
+endif
 
 sdk := $(sdks)/iPhoneOS$(ios).sdk