wok annotate lzip/receipt @ rev 24092
Up get-pcem-roms (2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 18 13:15:53 2021 +0000 (2021-07-18) |
parents | 852dea41e9fc |
children | 15650f5d595b |
rev | line source |
---|---|
mimas@2031 | 1 # SliTaz package receipt. |
mimas@2031 | 2 |
mimas@2031 | 3 PACKAGE="lzip" |
pascal@21204 | 4 VERSION="1.21" |
mimas@2031 | 5 CATEGORY="utilities" |
mimas@2031 | 6 SHORT_DESC="LZMA compressor" |
mimas@2031 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@17404 | 8 LICENSE="GPL2" |
mimas@2031 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mimas@2031 | 10 WEB_SITE="http://www.nongnu.org/lzip/lzip.html" |
slaxemulator@6454 | 11 WGET_URL="http://download.savannah.gnu.org/releases/lzip/$TARBALL" |
pascal@19091 | 12 HOST_ARCH="i486 arm" |
mimas@2031 | 13 |
pascal@14133 | 14 DEPENDS="gcc-lib-base" |
pascal@14133 | 15 |
mimas@2031 | 16 # Rules to configure and make the package. |
mimas@2031 | 17 compile_rules() |
mimas@2031 | 18 { |
pascal@20402 | 19 mkdir -p $DESTDIR/usr/share/doc |
pascal@20402 | 20 cp README $DESTDIR/usr/share/doc |
pascal@5003 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@5003 | 22 make && |
pascal@14133 | 23 make DESTDIR=$DESTDIR install |
mimas@2031 | 24 } |
mimas@2031 | 25 |
mimas@2031 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2031 | 27 genpkg_rules() |
mimas@2031 | 28 { |
mimas@2031 | 29 mkdir -p $fs/usr |
pascal@14133 | 30 cp -a $install/usr/bin $fs/usr |
erjo@4281 | 31 # cp $src/lzdiff $fs/usr/bin |
erjo@4281 | 32 # cp $src/lzgrep $fs/usr/bin |
mimas@2031 | 33 } |
mimas@2031 | 34 |