wok-6.x annotate xz/receipt @ rev 4151
Add xz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 08:59:53 2009 +0200 (2009-09-21) |
parents | |
children | 6ef3727f527d |
rev | line source |
---|---|
pascal@4151 | 1 # SliTaz package receipt. |
pascal@4151 | 2 |
pascal@4151 | 3 PACKAGE="xz" |
pascal@4151 | 4 VERSION="4.999.9beta" |
pascal@4151 | 5 CATEGORY="base-system" |
pascal@4151 | 6 SHORT_DESC="General-purpose data compressor with a high compression ratio." |
pascal@4151 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4151 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4151 | 9 WEB_SITE="http://tukaani.org/xz" |
pascal@4151 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@4151 | 11 |
pascal@4151 | 12 # Rules to configure and make the package. |
pascal@4151 | 13 compile_rules() |
pascal@4151 | 14 { |
pascal@4151 | 15 cd $src |
pascal@4151 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4151 | 17 --mandir=/usr/share/man \ |
pascal@4151 | 18 --enable-dynamic=yes --enable-small \ |
pascal@4151 | 19 $CONFIGURE_ARGS && |
pascal@4151 | 20 make && |
pascal@4151 | 21 make DESTDIR=$PWD/_pkg install |
pascal@4151 | 22 } |
pascal@4151 | 23 |
pascal@4151 | 24 |
pascal@4151 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4151 | 26 genpkg_rules() |
pascal@4151 | 27 { |
pascal@4151 | 28 mkdir -p $fs/usr/bin $fs/usr/lib |
pascal@4151 | 29 cp -a $_pkg/usr/bin/xz $fs/usr/bin |
pascal@4151 | 30 cp -a $_pkg/usr/lib/liblzma.so* $fs/usr/lib |
pascal@4151 | 31 } |