wok annotate rzip/receipt @ rev 25086
created recipe for sylpheed-lang
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 17 06:42:13 2022 +0100 (2022-06-17) |
parents | 46121975746c |
children |
rev | line source |
---|---|
pascal@17412 | 1 # SliTaz package receipt. |
pascal@17412 | 2 |
pascal@17412 | 3 PACKAGE="rzip" |
pascal@17412 | 4 VERSION="2.1" |
pascal@17412 | 5 CATEGORY="utilities" |
pascal@17412 | 6 SHORT_DESC="A compression program designed for long distance redundencies" |
pascal@17412 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17412 | 8 LICENSE="GPL2" |
pascal@17412 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17412 | 10 WEB_SITE="https://rzip.samba.org/" |
pascal@17412 | 11 WGET_URL="${WEB_SITE}ftp/$PACKAGE/$TARBALL" |
pascal@18361 | 12 TAGS="compression archive" |
pascal@17412 | 13 |
pascal@17412 | 14 DEPENDS="bzlib" |
pascal@17412 | 15 BUILD_DEPENDS="wget bzip2-dev" |
pascal@17412 | 16 |
pascal@24100 | 17 current_version() |
pascal@24100 | 18 { |
pascal@24100 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24100 | 20 sed '/tar/!d;s|.*rzip-\(.*\).tar.*".*|\1|' | sed '$!d' |
pascal@24100 | 21 } |
pascal@24100 | 22 |
pascal@17412 | 23 # Rules to configure and make the package. |
pascal@17412 | 24 compile_rules() |
pascal@17412 | 25 { |
pascal@17412 | 26 ./configure --prefix=/usr \ |
pascal@17412 | 27 --sysconfdir=/etc \ |
pascal@17412 | 28 $CONFIGURE_ARGS && |
pascal@17412 | 29 make |
pascal@17412 | 30 } |
pascal@17412 | 31 |
pascal@17412 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17412 | 33 genpkg_rules() |
pascal@17412 | 34 { |
pascal@17412 | 35 mkdir -p $fs/usr/bin |
pascal@17412 | 36 cp -a $src/rzip $fs/usr/bin |
pascal@17412 | 37 } |