wok annotate lzip/receipt @ rev 20402

lzip, lziprecover: add README
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 28 11:52:57 2018 +0200 (2018-06-28)
parents 1cc8dfef2917
children 4baf58c71390
rev   line source
mimas@2031 1 # SliTaz package receipt.
mimas@2031 2
mimas@2031 3 PACKAGE="lzip"
pascal@20221 4 VERSION="1.20"
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