wok-4.x annotate xz/receipt @ rev 4690
Up: awstats (6.95)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 31 00:04:35 2009 +0100 (2009-12-31) |
parents | 672edf7039fd |
children | a7edf66b8b58 |
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@4153 | 11 PROVIDE="liblzma" |
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@4151 | 29 mkdir -p $fs/usr/bin $fs/usr/lib |
pascal@4151 | 30 cp -a $_pkg/usr/bin/xz $fs/usr/bin |
pascal@4151 | 31 cp -a $_pkg/usr/lib/liblzma.so* $fs/usr/lib |
pascal@4151 | 32 } |