wok-next diff upx391/receipt @ rev 20401
fuse2: provide fuse
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 04 10:44:24 2017 +0100 (2017-12-04) |
parents | |
children | d43bf7aae921 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/upx391/receipt Mon Dec 04 10:44:24 2017 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +# Note. While the latest UPX works as expected, it can't decompress some 1.7 +# executables packed with UPX-1.25 and shipped with the package httpfs-fuse. 1.8 +# Error message produced with the UPX 3.92-3.94: 1.9 +# upx: <filename>: Exception: compressed data violation 1.10 + 1.11 +PACKAGE="upx391" 1.12 +VERSION="3.91" 1.13 +CATEGORY="system-tools" 1.14 +SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)" 1.15 +MAINTAINER="devl547@gmail.com" 1.16 +LICENSE="GPL2" 1.17 +WEB_SITE="https://upx.github.io/" 1.18 + 1.19 +TARBALL="upx-$VERSION.tar.gz" 1.20 +WGET_URL="https://github.com/upx/upx/archive/v$VERSION.tar.gz" 1.21 +WGET_URL2="http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2" 1.22 + 1.23 +BUILD_DEPENDS="ucl-dev zlib-dev perl" 1.24 + 1.25 +compile_rules() { 1.26 + TARBALL2="$(basename $WGET_URL2)" 1.27 + SRC2="$SOURCES_REPOSITORY/$TARBALL2" 1.28 + [ -s "$SRC2" ] || wget -O "$SRC2" "$WGET_URL2" 1.29 + tar -xf "$SRC2" 1.30 + 1.31 + CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1 -Wno-error=misleading-indentation" 1.32 + UPX_LZMADIR=$src make all || return 1 1.33 + 1.34 + mkdir -p $install/usr/bin $install/usr/share/man/man1 1.35 + cp -a $src/src/upx.out $install/usr/bin/upx 1.36 + cp -a $src/doc $install/usr/share 1.37 + rm $install/usr/share/doc/Makefile 1.38 + mv $install/usr/share/doc/upx.1 $install/usr/share/man/man1 1.39 +} 1.40 + 1.41 +genpkg_rules() { 1.42 + copy upx 1.43 + DEPENDS="ucl zlib" 1.44 +}