diff options
Diffstat (limited to 'upx/Pkgfile')
-rw-r--r-- | upx/Pkgfile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/upx/Pkgfile b/upx/Pkgfile index 76e53f617..a2bb04e9e 100644 --- a/upx/Pkgfile +++ b/upx/Pkgfile @@ -2,18 +2,19 @@ # URL: http://upx.sourceforge.net/ # Maintainer: Danny Rawlins, crux at romster dot me # Packager: Younes Hafri, ycrux at club-internet dot fr -# Depends on: ucl lzo zlib +# Depends on: ucl zlib name=upx -version=3.08 +version=3.91 release=1 -source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version-src.tar.bz2) +source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version-src.tar.bz2 + http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2) build() { cd $name-$version-src - make -C doc - make -C src - install -m 0644 -D doc/upx.1 $PKG/usr/man/man1/upx.1 + + make UPX_LZMA_VERSION=0x465 UPX_LZMADIR=$SRC all + + install -m 0644 -D doc/upx.1 $PKG/usr/share/man/man1/upx.1 install -m 0755 -D src/upx.out $PKG/usr/bin/upx } - |