summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-12-14 14:50:42 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-01-01 14:32:07 -0800
commitd1ba8fd35b8ff678f11f783e0329495f991714e5 (patch)
tree77474cfa41c9da16467f57af3dfeefabc7fc328d
parentc1d8d92111342b3729c40e712a0f189dc0ee90a9 (diff)
Use dpkg-deb -z to specify compression type.
-rw-r--r--makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/makefile b/makefile
index 095831e..d437f41 100644
--- 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