wok view upx/receipt @ rev 14744

Normalize some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 14 11:49:11 2013 +0200 (2013-06-14)
parents 6ee191c3fa9e
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="upx"
4 VERSION="3.07"
5 CATEGORY="system-tools"
6 SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)"
7 MAINTAINER="devl547@gmail.com"
8 WEB_SITE="http://upx.sourceforge.net/"
9 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
10 WGET_URL="http://upx.sourceforge.net/download/$TARBALL"
11 PATCH="http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2"
12 EXTRA_SOURCE_FILES="$PATCH"
14 DEPENDS="ucl zlib"
15 BUILD_DEPENDS="ucl-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
21 wget -P $SOURCES_REPOSITORY $PATCH
22 tar -xjpf $SOURCES_REPOSITORY/$(basename $PATCH)
23 CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1"
24 cd $src
25 UPX_LZMADIR=$src make all
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/src/upx.out $fs/usr/bin/upx
33 }