wok rev 12913

xz: include liblzma and add xz-dev
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 29 17:57:42 2012 +0000 (2012-05-29)
parents 570db404a047
children f8a19c127db5
files xz-dev/receipt xz/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xz-dev/receipt	Tue May 29 17:57:42 2012 +0000
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xz-dev"
     1.7 +VERSION="5.0.3"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="XZ and liblzma devel files"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://tukaani.org/xz"
    1.12 +PROVIDE="liblzma-dev"
    1.13 +WANTED="xz"
    1.14 +HOST_ARCH="i486 arm x86_64"
    1.15 +
    1.16 +DEPENDS="xz"
    1.17 +
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	mkdir -p $fs/usr/bin $fs/usr/lib
    1.23 +	cp -a $install/usr/include $fs/usr
    1.24 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.25 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 +}
     2.1 --- a/xz/receipt	Tue May 29 17:56:51 2012 +0000
     2.2 +++ b/xz/receipt	Tue May 29 17:57:42 2012 +0000
     2.3 @@ -6,12 +6,13 @@
     2.4  SHORT_DESC="General-purpose data compressor with a high compression ratio."
     2.5  MAINTAINER="pascal.bellard@slitaz.org"
     2.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     2.7 -DEPENDS="liblzma"
     2.8  WEB_SITE="http://tukaani.org/xz"
     2.9  WGET_URL="$WEB_SITE/$TARBALL"
    2.10  PROVIDE="lzma"
    2.11  HOST_ARCH="i486 arm x86_64"
    2.12  
    2.13 +DEPENDS=""
    2.14 +
    2.15  # Rules to configure and make the package.
    2.16  compile_rules()
    2.17  {
    2.18 @@ -26,8 +27,9 @@
    2.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.20  genpkg_rules()
    2.21  {
    2.22 -	mkdir -p $fs/usr/bin
    2.23 +	mkdir -p $fs/usr/bin $fs/usr/lib
    2.24  	cp -a $install/usr/bin/xz $fs/usr/bin
    2.25 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.26  	#cp $stuff/lzma $fs/usr/bin
    2.27  	#ln -s lzma $fs/usr/bin/unlzma
    2.28  	#ln -s lzma $fs/usr/bin/lzcat