wok-6.x rev 752

Split bzip2: add bzlib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 06 20:46:42 2008 +0000 (2008-05-06)
parents 7b86145ce8ec
children 67bd6ea17bda
files bzip2/receipt bzlib/receipt
line diff
     1.1 --- a/bzip2/receipt	Tue May 06 15:21:54 2008 +0000
     1.2 +++ b/bzip2/receipt	Tue May 06 20:46:42 2008 +0000
     1.3 @@ -8,6 +8,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.bzip.org/"
     1.6  WGET_URL="http://www.bzip.org/1.0.4/$TARBALL"
     1.7 +DEPENDS="bzlib"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11 @@ -21,17 +22,12 @@
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	mkdir -p $fs/usr/bin $fs/usr/lib
    1.16 +	mkdir -p $fs/usr/bin
    1.17  	cp -a $src/bzip2-shared $fs/usr/bin/bzip2
    1.18 -	cp -a $src/libbz2.so* $fs/usr/lib
    1.19 -	strip --strip-unneeded $fs/usr/bin/*
    1.20 -	strip --strip-debug $fs/usr/lib/*
    1.21  	# Da bunzip2, bzcat and lib symlink.
    1.22  	cd $fs/usr/bin
    1.23  	ln -s bzip2 bunzip2
    1.24  	ln -s bzip2 bzcat
    1.25 -	cd ../lib
    1.26 -	ln -s libbz2.so.1.0.4 libbz2.so
    1.27  }
    1.28  
    1.29  # Pre install commands for Tazpkg.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/bzlib/receipt	Tue May 06 20:46:42 2008 +0000
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="bzlib"
     2.7 +VERSION="1.0.4"
     2.8 +CATEGORY="utilities"
     2.9 +SHORT_DESC="High-quality data compressor libraries."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://www.bzip.org/"
    2.12 +WANTED="bzip2"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	mkdir -p $fs/usr/lib
    2.18 +	cp -a $src/libbz2.so* $fs/usr/lib
    2.19 +	ln -s libbz2.so.1.0.4 $fs/usr/lib/libbz2.so
    2.20 +}