wok view lziprecover/receipt @ rev 25694

dropbear: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 14:12:01 2024 +0000 (7 weeks ago)
parents 1c75fb23b954
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lziprecover"
4 VERSION="1.23"
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="https://download.savannah.gnu.org/releases/lzip/lziprecover/$TARBALL"
14 DEPENDS="gcc-lib-base"
16 HOST_ARCH="i486 arm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed '/>lziprecover-/!d;/tar/!d;s|.*lziprecover-||;s|.tar.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $DESTDIR/usr/share/doc
29 cp README $DESTDIR/usr/share/doc
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }