wok annotate upx/receipt @ rev 14595
libxcb: have no version 1.9.1
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 27 18:54:02 2013 +0000 (2013-05-27) |
parents | 6ee191c3fa9e |
children | 380ffe05937a |
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" |
pascal@14337 | 12 EXTRA_SOURCE_FILES="$PATCH" |
slaxemulator@11253 | 13 |
devl547@11250 | 14 DEPENDS="ucl zlib" |
devl547@11250 | 15 BUILD_DEPENDS="ucl-dev zlib-dev" |
devl547@11250 | 16 |
devl547@11250 | 17 # Rules to configure and make the package. |
devl547@11250 | 18 compile_rules() |
devl547@11250 | 19 { |
slaxemulator@11253 | 20 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] || |
slaxemulator@11253 | 21 wget -P $SOURCES_REPOSITORY $PATCH |
slaxemulator@11253 | 22 tar -xjpf $SOURCES_REPOSITORY/$(basename $PATCH) |
slaxemulator@11253 | 23 CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1" |
devl547@11250 | 24 cd $src |
slaxemulator@11253 | 25 UPX_LZMADIR=$src make all |
devl547@11250 | 26 } |
devl547@11250 | 27 |
devl547@11250 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11250 | 29 genpkg_rules() |
devl547@11250 | 30 { |
devl547@11250 | 31 mkdir -p $fs/usr/bin |
slaxemulator@11253 | 32 cp -a $src/src/upx.out $fs/usr/bin/upx |
devl547@11250 | 33 } |