wok annotate lrzip/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 60202e4e10cc
children
rev   line source
jozee@4948 1 # SliTaz package receipt.
jozee@4948 2
jozee@4948 3 PACKAGE="lrzip"
Hans-G?nter@24862 4 VERSION="0.651"
jozee@4948 5 CATEGORY="utilities"
Hans-G?nter@24862 6 TAGS="compression archive"
Hans-G?nter@24862 7 SHORT_DESC="Lrzip is a file compression program designed to do particularly well on very large files containing long distance redundancy."
Hans-G?nter@24862 8 MAINTAINER="maintainer@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@24862 10 WEB_SITE="http://ck.kolivas.org/apps/lrzip/"
Hans-G?nter@24862 11
pascal@24100 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
jozee@4948 13 WGET_URL="$WEB_SITE/$TARBALL"
slaxemulator@12997 14
Hans-G?nter@24862 15 DEPENDS="bash bzlib lz4 lzo zlib"
Hans-G?nter@24862 16 BUILD_DEPENDS="bzip2-dev lz4-dev lzo-dev nasm perl zlib-dev"
jozee@4948 17
pascal@24100 18 current_version()
pascal@24100 19 {
pascal@24100 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24100 21 sed '/tar/!d;s|.*lrzip-\(.*\).tar.*".*|\1|' | sed '$!d'
pascal@24100 22 }
pascal@24100 23
jozee@4948 24 # Rules to configure and make the package.
jozee@4948 25 compile_rules()
jozee@4948 26 {
Hans-G?nter@24862 27 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24862 28 make &&
Hans-G?nter@24862 29 make install DESTDIR=$DESTDIR
jozee@4948 30 }
jozee@4948 31
jozee@4948 32 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4948 33 genpkg_rules()
jozee@4948 34 {
Hans-G?nter@24862 35 cook_copy_folders bin
jozee@4948 36 }