wok-stable diff upx/receipt @ rev 12361
gtk+: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 15:59:58 2012 +0100 (2012-12-13) |
parents | b80e7d1d930e |
children |
line diff
1.1 --- a/upx/receipt Mon Nov 07 11:04:50 2011 +0000 1.2 +++ b/upx/receipt Thu Dec 13 15:59:58 2012 +0100 1.3 @@ -1,36 +1,32 @@ 1.4 # SliTaz package receipt. 1.5 -# 1.6 1.7 PACKAGE="upx" 1.8 VERSION="3.07" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)" 1.11 MAINTAINER="devl547@gmail.com" 1.12 +WEB_SITE="http://upx.sourceforge.net/" 1.13 +TARBALL="$PACKAGE-$VERSION-src.tar.bz2" 1.14 +WGET_URL="http://upx.sourceforge.net/download/$TARBALL" 1.15 +PATCH="http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2" 1.16 + 1.17 DEPENDS="ucl zlib" 1.18 BUILD_DEPENDS="ucl-dev zlib-dev" 1.19 -TARBALL="$PACKAGE-$VERSION-src.tar.bz2" 1.20 -WEB_SITE="http://upx.sourceforge.net" 1.21 -WGET_URL="$WEB_SITE/download/$TARBALL" 1.22 -LZMA_TARBALL="lzma465.tar.bz2" 1.23 -LZMA_SOURCE="http://downloads.sourceforge.net/sevenzip/$LZMA_TARBALL" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 + [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] || 1.29 + wget -P $SOURCES_REPOSITORY $PATCH 1.30 + tar -xjpf $SOURCES_REPOSITORY/$(basename $PATCH) 1.31 + CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1" 1.32 cd $src 1.33 - wget $LZMA_SOURCE 1.34 - tar -xjpf $LZMA_TARBALL 1.35 - #./configure $CONFIGURE_ARGS && 1.36 - CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1" 1.37 - UPX_LZMADIR=$src make all $MAKEFLAGS 1.38 - cd src 1.39 - mv upx.out upx 1.40 + UPX_LZMADIR=$src make all 1.41 } 1.42 1.43 # Rules to gen a SliTaz package suitable for Tazpkg. 1.44 genpkg_rules() 1.45 { 1.46 mkdir -p $fs/usr/bin 1.47 - cp -a $src/src/upx $fs/usr/bin/ 1.48 + cp -a $src/src/upx.out $fs/usr/bin/upx 1.49 } 1.50 -