wok view rzip/receipt @ rev 24155

linld : fix lm detection
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 06 16:44:52 2021 +0000 (2021-12-06)
parents 46121975746c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rzip"
4 VERSION="2.1"
5 CATEGORY="utilities"
6 SHORT_DESC="A compression program designed for long distance redundencies"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://rzip.samba.org/"
11 WGET_URL="${WEB_SITE}ftp/$PACKAGE/$TARBALL"
12 TAGS="compression archive"
14 DEPENDS="bzlib"
15 BUILD_DEPENDS="wget bzip2-dev"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed '/tar/!d;s|.*rzip-\(.*\).tar.*".*|\1|' | sed '$!d'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/rzip $fs/usr/bin
37 }