wok annotate lziprecover/receipt @ rev 21747
tazboot: spare 2k
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 14 17:17:16 2019 +0200 (2019-06-14) |
parents | 852dea41e9fc |
children | f8a963794d31 |
rev | line source |
---|---|
pascal@20401 | 1 # SliTaz package receipt. |
pascal@20401 | 2 |
pascal@20401 | 3 PACKAGE="lziprecover" |
Hans-G?nter@21408 | 4 VERSION="1.21" |
pascal@20401 | 5 CATEGORY="utilities" |
Hans-G?nter@21408 | 6 SHORT_DESC="LZIP files recovery tool." |
pascal@20401 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20401 | 8 LICENSE="GPL2" |
Hans-G?nter@21408 | 9 WEB_SITE="https://www.nongnu.org/lzip/lziprecover.html" |
Hans-G?nter@21408 | 10 |
pascal@20401 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20401 | 12 WGET_URL="http://download.savannah.gnu.org/releases/lzip/lziprecover/$TARBALL" |
pascal@20401 | 13 |
pascal@20401 | 14 DEPENDS="gcc-lib-base" |
pascal@20401 | 15 |
Hans-G?nter@21408 | 16 HOST_ARCH="i486 arm" |
Hans-G?nter@21408 | 17 |
pascal@20401 | 18 # Rules to configure and make the package. |
pascal@20401 | 19 compile_rules() |
pascal@20401 | 20 { |
pascal@20402 | 21 mkdir -p $DESTDIR/usr/share/doc |
Hans-G?nter@21408 | 22 cp README $DESTDIR/usr/share/doc |
Hans-G?nter@21408 | 23 |
Hans-G?nter@21408 | 24 ./configure \ |
Hans-G?nter@21408 | 25 --prefix=/usr \ |
Hans-G?nter@21408 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@21408 | 27 make -j 1 && |
pascal@20401 | 28 make DESTDIR=$DESTDIR install |
pascal@20401 | 29 } |
pascal@20401 | 30 |
pascal@20401 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20401 | 32 genpkg_rules() |
pascal@20401 | 33 { |
pascal@20401 | 34 mkdir -p $fs/usr |
pascal@20401 | 35 cp -a $install/usr/bin $fs/usr |
pascal@20401 | 36 } |