wok annotate lziprecover/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 8d7732e4186f
children 9d8df9f05e92
rev   line source
pascal@20401 1 # SliTaz package receipt.
pascal@20401 2
pascal@20401 3 PACKAGE="lziprecover"
pascal@20401 4 VERSION="1.20"
pascal@20401 5 CATEGORY="utilities"
pascal@20401 6 SHORT_DESC="LZIP files recovery tool"
pascal@20401 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20401 8 LICENSE="GPL2"
pascal@20401 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20401 10 WEB_SITE="http://www.nongnu.org/lzip/lziprecover.html"
pascal@20401 11 WGET_URL="http://download.savannah.gnu.org/releases/lzip/lziprecover/$TARBALL"
pascal@20401 12 HOST_ARCH="i486 arm"
pascal@20401 13
pascal@20401 14 DEPENDS="gcc-lib-base"
pascal@20401 15
pascal@20401 16 # Rules to configure and make the package.
pascal@20401 17 compile_rules()
pascal@20401 18 {
pascal@20402 19 mkdir -p $DESTDIR/usr/share/doc
pascal@20402 20 cp README $DESTDIR/usr/share/doc
pascal@20401 21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@20401 22 make &&
pascal@20401 23 make DESTDIR=$DESTDIR install
pascal@20401 24 }
pascal@20401 25
pascal@20401 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20401 27 genpkg_rules()
pascal@20401 28 {
pascal@20401 29 mkdir -p $fs/usr
pascal@20401 30 cp -a $install/usr/bin $fs/usr
pascal@20401 31 }