wok-next view upx/receipt @ rev 20313

libav: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 21:37:38 2017 +0100 (2017-11-10)
parents 3a6b97ad0a64
children fbd490ef13ef
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 copy upx
41 }