From: Jay Freeman (saurik) Date: Tue, 14 Dec 2010 22:50:42 +0000 (-0800) Subject: Use dpkg-deb -z to specify compression type. X-Git-Tag: v1.1.0%b1~391 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/d1ba8fd35b8ff678f11f783e0329495f991714e5 Use dpkg-deb -z to specify compression type. --- diff --git a/makefile b/makefile index 095831ec..d437f41b 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