wok-current view burp/receipt @ rev 24903
updated mercurial (5.3.1 -> 6.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 11:10:54 2022 +0100 (2022-04-09) |
parents | 43a60529166c |
children | 1be16cc1cd50 |
line source
1 # SliTaz package receipt.
3 PACKAGE="burp"
4 VERSION="1.3.10"
5 CATEGORY="utilities"
6 SHORT_DESC="KISS BackUp and Restore Program"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://burp.grke.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="acl libssl libcrypto attr popt ncurses zlib bzlib gcc-lib-base"
14 BUILD_DEPENDS="librsync acl-dev openssl-dev attr-dev popt-dev ncurses-dev \
15 bzip2-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/burp/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;/tar/!d;s|.*/burp-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./configure --prefix=/usr \
30 --sbindir=/usr/sbin \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 --infodir=/usr/share/info \
34 $CONFIGURE_ARGS &&
35 make && make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 }