wok view upx/receipt @ rev 12693
Up: slitaz-boot-scripts (5.0) No more lang/kmap config at boot, use new tazlocale/tazkeymap functions
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 02 17:05:52 2012 +0200 (2012-05-02) |
parents | b80e7d1d930e |
children | b2a632fc9587 |
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"
13 DEPENDS="ucl zlib"
14 BUILD_DEPENDS="ucl-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
20 wget -P $SOURCES_REPOSITORY $PATCH
21 tar -xjpf $SOURCES_REPOSITORY/$(basename $PATCH)
22 CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1"
23 cd $src
24 UPX_LZMADIR=$src make all
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/src/upx.out $fs/usr/bin/upx
32 }