# HG changeset patch # User Alexander Medvedev # Date 1320663890 0 # Node ID b80e7d1d930e872b0cfd647205cca3db0b2cf497 # Parent 86f3b0efa8e27411ab0f0c9513e434e93ae88996 Add: ucl and upx-ucl (opensource version) diff -r 86f3b0efa8e2 -r b80e7d1d930e ucl-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ucl-dev/receipt Mon Nov 07 11:04:50 2011 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="ucl-dev" +VERSION="1.03" +CATEGORY="development" +SHORT_DESC="ucl development files" +MAINTAINER="devl547@gmail.com" +DEPENDS="ucl" +WANTED="ucl" +WEB_SITE="http://www.oberhumer.com/opensource/ucl/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} + diff -r 86f3b0efa8e2 -r b80e7d1d930e ucl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ucl/receipt Mon Nov 07 11:04:50 2011 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="ucl" +VERSION="1.03" +CATEGORY="system-tools" +SHORT_DESC="the UCL Compression Library" +MAINTAINER="devl547@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.oberhumer.com/opensource/ucl/" +WGET_URL="$WEB_SITE/download/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --enable-shared \ + $CONFIGURE_ARGS && + make $MAKEFLAGS && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} diff -r 86f3b0efa8e2 -r b80e7d1d930e upx/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/upx/receipt Mon Nov 07 11:04:50 2011 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. +# + +PACKAGE="upx" +VERSION="3.07" +CATEGORY="system-tools" +SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)" +MAINTAINER="devl547@gmail.com" +DEPENDS="ucl zlib" +BUILD_DEPENDS="ucl-dev zlib-dev" +TARBALL="$PACKAGE-$VERSION-src.tar.bz2" +WEB_SITE="http://upx.sourceforge.net" +WGET_URL="$WEB_SITE/download/$TARBALL" +LZMA_TARBALL="lzma465.tar.bz2" +LZMA_SOURCE="http://downloads.sourceforge.net/sevenzip/$LZMA_TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + wget $LZMA_SOURCE + tar -xjpf $LZMA_TARBALL + #./configure $CONFIGURE_ARGS && + CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1" + UPX_LZMADIR=$src make all $MAKEFLAGS + cd src + mv upx.out upx +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/src/upx $fs/usr/bin/ +} +