wok view upx/receipt @ rev 14000
Up: emacs-pkg-lua-mode (20111107)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Feb 14 13:36:00 2013 +0100 (2013-02-14) |
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 }