wok-next view upx/receipt @ rev 19770

Update the rest of Perl modules.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 15 02:59:24 2017 +0300 (2017-06-15)
parents 8ca08b663525
children f463de72afe3
line source
1 # SliTaz package receipt.
3 PACKAGE="upx"
4 VERSION="3.93"
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 DEPENDS="ucl zlib"
17 BUILD_DEPENDS="ucl-dev zlib-dev perl"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 [ -s $SOURCES_REPOSITORY/$TARBALL2 ] ||
23 wget -O $SOURCES_REPOSITORY/$TARBALL2 $WGET_URL2
24 tar -xf $SOURCES_REPOSITORY/$TARBALL2
25 rm -r $src/src/lzma-sdk
26 mv $src/$(basename $TARBALL2 .tar.gz) $src/src/lzma-sdk
28 make CHECK_WHITESPACE=/bin/true all
30 mkdir -p $install/usr/bin $install/usr/share/man/man1
31 cp -a $src/src/upx.out $install/usr/bin/upx
32 cp -a $src/doc $install/usr/share
33 rm $install/usr/share/doc/Makefile
34 mv $install/usr/share/doc/upx.1 $install/usr/share/man/man1
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files upx
41 }