wok-next view rsnapshot/receipt @ rev 20142

vlc: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 11:06:02 2017 +0100 (2017-11-01)
parents 3b4e4318134e
children 757d032c55c7
line source
1 # SliTaz package receipt.
3 PACKAGE="rsnapshot"
4 VERSION="1.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="A remote filesystem snapshot utility"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.rsnapshot.org"
11 WGET_URL="https://github.com/rsnapshot/rsnapshot/archive/$VERSION.tar.gz"
12 CONFIG_FILES="/etc/rsnapshot.conf"
14 DEPENDS="perl rsync"
15 BUILD_DEPENDS="perl rsync autoconf automake libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --sysconfdir=/etc \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr $fs/etc
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/etc/rsnapshot.conf.default $fs/etc/rsnapshot.conf
36 }