wok view burp/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 5f6c5106b1f5
children 343c093ad221
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.gz"
11 WGET_URL="https://github.com/grke/burp/archive/refs/tags/$VERSION.tar.gz"
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 - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ltinfo"
28 ./configure --prefix=/usr \
29 --sbindir=/usr/sbin \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 --infodir=/usr/share/info \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }