wok-next view upx/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | fbd490ef13ef |
children | 7fc972e95a2e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="upx"
4 VERSION="3.94"
5 CATEGORY="system-tools"
6 SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://upx.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/upx/upx/archive/v$VERSION.tar.gz"
13 TARBALL2="upx-lzma-sdk-$VERSION.tar.gz"
14 WGET_URL2="https://github.com/upx/upx-lzma-sdk/archive/v$VERSION.tar.gz"
16 BUILD_DEPENDS="ucl-dev zlib-dev perl"
18 compile_rules() {
19 [ -s $SRC/$TARBALL2 ] ||
20 wget -O $SRC/$TARBALL2 $WGET_URL2
21 tar -xf $SRC/$TARBALL2
22 rm -r $src/src/lzma-sdk
23 mv $src/$(basename $TARBALL2 .tar.gz) $src/src/lzma-sdk
25 make CHECK_WHITESPACE=/bin/true all || return 1
27 mkdir -p $install/usr/bin $install/usr/share/man/man1
28 cp -a $src/src/upx.out $install/usr/bin/upx
29 cp -a $src/doc $install/usr/share
30 rm $install/usr/share/doc/Makefile
31 mv $install/usr/share/doc/upx.1 $install/usr/share/man/man1
32 }
34 genpkg_rules() {
35 copy upx
36 DEPENDS="ucl zlib"
37 }