wok view lziprecover/receipt @ rev 24257
updated perl-test-nowarnings (1.04 -> 1.06)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:05:21 2022 +0100 (2022-01-02) |
parents | 9d8df9f05e92 |
children | 1c75fb23b954 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lziprecover"
4 VERSION="1.22"
5 CATEGORY="utilities"
6 SHORT_DESC="LZIP files recovery tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.nongnu.org/lzip/lziprecover.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.savannah.gnu.org/releases/lzip/lziprecover/$TARBALL"
14 DEPENDS="gcc-lib-base"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed '/tar/!d;s|.*recover-\(.*\).tar.*".*|\1|' | sed '$!d'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $DESTDIR/usr/share/doc
28 cp README $DESTDIR/usr/share/doc
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }