wok view lrzip/receipt @ rev 24419

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 11 11:14:46 2022 +0000 (2022-02-11)
parents f8a963794d31
children 8b7f75d0e08e
line source
1 # SliTaz package receipt.
3 PACKAGE="lrzip"
4 VERSION="0.641"
5 CATEGORY="utilities"
6 SHORT_DESC="lrzip is a file compression program designed to do particularly well on very large files containing long distance redundancy"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://ck.kolivas.org/apps/lrzip/"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 TAGS="compression archive"
14 DEPENDS="lzo bzlib zlib gcc-lib-base lz4-lib"
15 BUILD_DEPENDS="lzo-dev bzip2-dev zlib-dev nasm perl lz4-dev"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/tar/!d;s|.*lrzip-\(.*\).tar.*".*|\1|' | sed '$!d'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }