wok-next annotate upx/receipt @ rev 13866
.. and Wine-RT dev package OFC
author | Pawel P. <xj@wp.pl> |
---|---|
date | Sun Jan 13 18:18:53 2013 +0000 (2013-01-13) |
parents | b80e7d1d930e |
children | b2a632fc9587 |
rev | line source |
---|---|
devl547@11250 | 1 # SliTaz package receipt. |
devl547@11250 | 2 |
devl547@11250 | 3 PACKAGE="upx" |
devl547@11250 | 4 VERSION="3.07" |
devl547@11250 | 5 CATEGORY="system-tools" |
devl547@11250 | 6 SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)" |
devl547@11250 | 7 MAINTAINER="devl547@gmail.com" |
slaxemulator@11253 | 8 WEB_SITE="http://upx.sourceforge.net/" |
slaxemulator@11253 | 9 TARBALL="$PACKAGE-$VERSION-src.tar.bz2" |
slaxemulator@11253 | 10 WGET_URL="http://upx.sourceforge.net/download/$TARBALL" |
slaxemulator@11253 | 11 PATCH="http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2" |
slaxemulator@11253 | 12 |
devl547@11250 | 13 DEPENDS="ucl zlib" |
devl547@11250 | 14 BUILD_DEPENDS="ucl-dev zlib-dev" |
devl547@11250 | 15 |
devl547@11250 | 16 # Rules to configure and make the package. |
devl547@11250 | 17 compile_rules() |
devl547@11250 | 18 { |
slaxemulator@11253 | 19 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] || |
slaxemulator@11253 | 20 wget -P $SOURCES_REPOSITORY $PATCH |
slaxemulator@11253 | 21 tar -xjpf $SOURCES_REPOSITORY/$(basename $PATCH) |
slaxemulator@11253 | 22 CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1" |
devl547@11250 | 23 cd $src |
slaxemulator@11253 | 24 UPX_LZMADIR=$src make all |
devl547@11250 | 25 } |
devl547@11250 | 26 |
devl547@11250 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11250 | 28 genpkg_rules() |
devl547@11250 | 29 { |
devl547@11250 | 30 mkdir -p $fs/usr/bin |
slaxemulator@11253 | 31 cp -a $src/src/upx.out $fs/usr/bin/upx |
devl547@11250 | 32 } |