wok-current 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 86f3b0efa8e2
children 017bd485590b
files ucl-dev/receipt ucl/receipt upx/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ucl-dev/receipt	Mon Nov 07 11:04:50 2011 +0000
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ucl-dev"
     1.7 +VERSION="1.03"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="ucl development files"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +DEPENDS="ucl"
    1.12 +WANTED="ucl"
    1.13 +WEB_SITE="http://www.oberhumer.com/opensource/ucl/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/include $fs/usr
    1.20 +}
    1.21 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ucl/receipt	Mon Nov 07 11:04:50 2011 +0000
     2.3 @@ -0,0 +1,27 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="ucl"
     2.7 +VERSION="1.03"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="the UCL Compression Library"
    2.10 +MAINTAINER="devl547@gmail.com"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://www.oberhumer.com/opensource/ucl/"
    2.13 +WGET_URL="$WEB_SITE/download/$TARBALL"
    2.14 +
    2.15 +# Rules to configure and make the package.
    2.16 +compile_rules()
    2.17 +{
    2.18 +	cd $src
    2.19 +	./configure \
    2.20 +	--enable-shared \
    2.21 +	$CONFIGURE_ARGS &&
    2.22 +	make $MAKEFLAGS && make install
    2.23 +}
    2.24 +
    2.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.26 +genpkg_rules()
    2.27 +{
    2.28 +	mkdir -p $fs/usr/lib 
    2.29 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.30 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/upx/receipt	Mon Nov 07 11:04:50 2011 +0000
     3.3 @@ -0,0 +1,36 @@
     3.4 +# SliTaz package receipt.
     3.5 +#
     3.6 +
     3.7 +PACKAGE="upx"
     3.8 +VERSION="3.07"
     3.9 +CATEGORY="system-tools"
    3.10 +SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)"
    3.11 +MAINTAINER="devl547@gmail.com"
    3.12 +DEPENDS="ucl zlib"
    3.13 +BUILD_DEPENDS="ucl-dev zlib-dev"
    3.14 +TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
    3.15 +WEB_SITE="http://upx.sourceforge.net"
    3.16 +WGET_URL="$WEB_SITE/download/$TARBALL"
    3.17 +LZMA_TARBALL="lzma465.tar.bz2"
    3.18 +LZMA_SOURCE="http://downloads.sourceforge.net/sevenzip/$LZMA_TARBALL"
    3.19 +
    3.20 +# Rules to configure and make the package.
    3.21 +compile_rules()
    3.22 +{
    3.23 +	cd $src
    3.24 +	wget $LZMA_SOURCE
    3.25 +	tar -xjpf $LZMA_TARBALL
    3.26 +	#./configure $CONFIGURE_ARGS &&
    3.27 +	CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1"
    3.28 +	UPX_LZMADIR=$src make all $MAKEFLAGS
    3.29 +	cd src
    3.30 +	mv upx.out upx
    3.31 +}
    3.32 +
    3.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.34 +genpkg_rules()
    3.35 +{
    3.36 +	mkdir -p $fs/usr/bin
    3.37 +	cp -a $src/src/upx $fs/usr/bin/
    3.38 +}
    3.39 +