wok annotate burp/receipt @ rev 25383
updated units (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:22:12 2022 +0100 (2022-07-30) |
parents | 5f6c5106b1f5 |
children | 343c093ad221 |
rev | line source |
---|---|
pascal@13358 | 1 # SliTaz package receipt. |
pascal@13358 | 2 |
pascal@13358 | 3 PACKAGE="burp" |
pascal@13358 | 4 VERSION="1.3.10" |
pascal@13358 | 5 CATEGORY="utilities" |
samuel_trassare@13421 | 6 SHORT_DESC="KISS BackUp and Restore Program" |
pascal@13358 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL3" |
pascal@13358 | 9 WEB_SITE="http://burp.grke.net/" |
pascal@25021 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25021 | 11 WGET_URL="https://github.com/grke/burp/archive/refs/tags/$VERSION.tar.gz" |
pascal@13358 | 12 |
pascal@13358 | 13 DEPENDS="acl libssl libcrypto attr popt ncurses zlib bzlib gcc-lib-base" |
pascal@13358 | 14 BUILD_DEPENDS="librsync acl-dev openssl-dev attr-dev popt-dev ncurses-dev \ |
pascal@13358 | 15 bzip2-dev zlib-dev" |
pascal@13358 | 16 |
pascal@24340 | 17 # What is the latest version available today? |
pascal@24340 | 18 current_version() |
pascal@24340 | 19 { |
pascal@25021 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25021 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24340 | 22 } |
pascal@24340 | 23 |
pascal@13358 | 24 # Rules to configure and make the package. |
pascal@13358 | 25 compile_rules() |
pascal@13358 | 26 { |
pascal@17743 | 27 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@13358 | 28 ./configure --prefix=/usr \ |
pascal@13358 | 29 --sbindir=/usr/sbin \ |
pascal@13358 | 30 --sysconfdir=/etc \ |
pascal@13358 | 31 --mandir=/usr/share/man \ |
pascal@13358 | 32 --infodir=/usr/share/info \ |
pascal@13358 | 33 $CONFIGURE_ARGS && |
pascal@13358 | 34 make && make DESTDIR=$DESTDIR install |
pascal@13358 | 35 } |
pascal@13358 | 36 |
pascal@13358 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13358 | 38 genpkg_rules() |
pascal@13358 | 39 { |
pascal@13358 | 40 cp -a $install/* $fs |
pascal@13358 | 41 } |