wok-6.x annotate xz/receipt @ rev 5002
[h-k]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 15:46:04 2010 +0100 (2010-02-28) |
parents | b462c462655c |
children | 413b0174114a |
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@4862 | 11 PROVIDE="lzma" |
pascal@4151 | 12 |
pascal@4151 | 13 # Rules to configure and make the package. |
pascal@4151 | 14 compile_rules() |
pascal@4151 | 15 { |
pascal@4151 | 16 cd $src |
pascal@4151 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4151 | 18 --mandir=/usr/share/man \ |
pascal@4151 | 19 --enable-dynamic=yes --enable-small \ |
pascal@4151 | 20 $CONFIGURE_ARGS && |
pascal@4151 | 21 make && |
pascal@4151 | 22 make DESTDIR=$PWD/_pkg install |
pascal@4151 | 23 } |
pascal@4151 | 24 |
pascal@4151 | 25 |
pascal@4151 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4151 | 27 genpkg_rules() |
pascal@4151 | 28 { |
pascal@4870 | 29 mkdir -p $fs/usr/bin |
pascal@4151 | 30 cp -a $_pkg/usr/bin/xz $fs/usr/bin |
pascal@4861 | 31 cp stuff/lzma $fs/usr/bin |
pascal@4151 | 32 } |