wok-6.x view upx/receipt @ rev 20141
Up smplayer (17.11.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Nov 05 22:04:17 2017 +0100 (2017-11-05) |
parents | d112594da76e |
children | 623f02d7e6c8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="upx"
4 VERSION="3.91"
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="http://upx.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
11 WGET_URL="http://upx.sourceforge.net/download/$TARBALL"
12 PATCH="http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2"
13 EXTRA_SOURCE_FILES="$PATCH"
15 DEPENDS="ucl zlib"
16 BUILD_DEPENDS="ucl-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
22 wget -P $SOURCES_REPOSITORY $PATCH
23 tar -xjpf $SOURCES_REPOSITORY/$(basename $PATCH)
24 CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1"
25 cd $src
26 UPX_LZMADIR=$src make all
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $install/usr/share/doc $install/usr/share/man
33 cp -a $src/src/upx.out $fs/usr/bin/upx
34 cp $src/doc/*.txt $install/usr/share/doc
35 cp $src/doc/*.doc $install/usr/share/doc
36 cp $src/doc/*.html $install/usr/share/doc
37 cp $src/LICENSE $install/usr/share/doc
38 cp $src/COPYING $install/usr/share/doc
39 cp $src/README* $install/usr/share/doc
40 cp $src/THANKS $install/usr/share/doc
41 cp $src/NEWS $install/usr/share/doc
42 cp $src/BUGS $install/usr/share/doc
43 cp $src/*.txt $install/usr/share/doc
44 cp $src/doc/*.1 $install/usr/share/man
45 }