wok diff upx/receipt @ rev 11250
Add: ucl and upx-ucl (opensource version)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Nov 07 11:04:50 2011 +0000 (2011-11-07) |
parents | |
children | 6ee191c3fa9e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/upx/receipt Mon Nov 07 11:04:50 2011 +0000 1.3 @@ -0,0 +1,36 @@ 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 +DEPENDS="ucl zlib" 1.13 +BUILD_DEPENDS="ucl-dev zlib-dev" 1.14 +TARBALL="$PACKAGE-$VERSION-src.tar.bz2" 1.15 +WEB_SITE="http://upx.sourceforge.net" 1.16 +WGET_URL="$WEB_SITE/download/$TARBALL" 1.17 +LZMA_TARBALL="lzma465.tar.bz2" 1.18 +LZMA_SOURCE="http://downloads.sourceforge.net/sevenzip/$LZMA_TARBALL" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + wget $LZMA_SOURCE 1.25 + tar -xjpf $LZMA_TARBALL 1.26 + #./configure $CONFIGURE_ARGS && 1.27 + CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1" 1.28 + UPX_LZMADIR=$src make all $MAKEFLAGS 1.29 + cd src 1.30 + mv upx.out upx 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/bin 1.37 + cp -a $src/src/upx $fs/usr/bin/ 1.38 +} 1.39 +