wok annotate burp/receipt @ rev 24889
grub2: sed command corrected
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:34:21 2022 +0100 (2022-04-02) |
parents | 43a60529166c |
children | 1be16cc1cd50 |
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@13358 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13358 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
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@24340 | 20 wget -O - https://sourceforge.net/projects/burp/files/ 2>/dev/null | \ |
pascal@24340 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24340 | 22 sed '/scope="row/!d;/tar/!d;s|.*/burp-||;s|.tar.*||;q' |
pascal@24340 | 23 } |
pascal@24340 | 24 |
pascal@13358 | 25 # Rules to configure and make the package. |
pascal@13358 | 26 compile_rules() |
pascal@13358 | 27 { |
pascal@17743 | 28 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@13358 | 29 ./configure --prefix=/usr \ |
pascal@13358 | 30 --sbindir=/usr/sbin \ |
pascal@13358 | 31 --sysconfdir=/etc \ |
pascal@13358 | 32 --mandir=/usr/share/man \ |
pascal@13358 | 33 --infodir=/usr/share/info \ |
pascal@13358 | 34 $CONFIGURE_ARGS && |
pascal@13358 | 35 make && make DESTDIR=$DESTDIR install |
pascal@13358 | 36 } |
pascal@13358 | 37 |
pascal@13358 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13358 | 39 genpkg_rules() |
pascal@13358 | 40 { |
pascal@13358 | 41 cp -a $install/* $fs |
pascal@13358 | 42 } |