wok-next annotate upx/receipt @ rev 20615
Up cookutils (1050), glib-networking (2.54.1), gsettings-desktop-schemas (3.24.1), libsoup (2.60.3); add geoclue (2.4.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 20 14:55:15 2018 +0300 (2018-04-20) |
parents | fbd490ef13ef |
children | 7fc972e95a2e |
rev | line source |
---|---|
al@20332 | 1 # SliTaz package receipt v2. |
devl547@11250 | 2 |
devl547@11250 | 3 PACKAGE="upx" |
al@20332 | 4 VERSION="3.94" |
devl547@11250 | 5 CATEGORY="system-tools" |
devl547@11250 | 6 SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)" |
devl547@11250 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19663 | 9 WEB_SITE="https://upx.github.io/" |
al@19663 | 10 |
al@19663 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19663 | 12 WGET_URL="https://github.com/upx/upx/archive/v$VERSION.tar.gz" |
al@19663 | 13 TARBALL2="upx-lzma-sdk-$VERSION.tar.gz" |
al@19663 | 14 WGET_URL2="https://github.com/upx/upx-lzma-sdk/archive/v$VERSION.tar.gz" |
slaxemulator@11253 | 15 |
al@19663 | 16 BUILD_DEPENDS="ucl-dev zlib-dev perl" |
devl547@11250 | 17 |
al@20332 | 18 compile_rules() { |
al@20513 | 19 [ -s $SRC/$TARBALL2 ] || |
al@20513 | 20 wget -O $SRC/$TARBALL2 $WGET_URL2 |
al@20513 | 21 tar -xf $SRC/$TARBALL2 |
al@19663 | 22 rm -r $src/src/lzma-sdk |
al@19663 | 23 mv $src/$(basename $TARBALL2 .tar.gz) $src/src/lzma-sdk |
al@19663 | 24 |
al@20332 | 25 make CHECK_WHITESPACE=/bin/true all || return 1 |
al@19663 | 26 |
al@19663 | 27 mkdir -p $install/usr/bin $install/usr/share/man/man1 |
al@19663 | 28 cp -a $src/src/upx.out $install/usr/bin/upx |
al@19663 | 29 cp -a $src/doc $install/usr/share |
al@19663 | 30 rm $install/usr/share/doc/Makefile |
al@19663 | 31 mv $install/usr/share/doc/upx.1 $install/usr/share/man/man1 |
devl547@11250 | 32 } |
devl547@11250 | 33 |
al@20332 | 34 genpkg_rules() { |
al@19783 | 35 copy upx |
al@20332 | 36 DEPENDS="ucl zlib" |
devl547@11250 | 37 } |