wok view rsnapshot/receipt @ rev 15593

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 03 18:28:51 2013 +0000 (2013-12-03)
parents 26095987c2ac
children 97aacc6e3c16
line source
1 # SliTaz package receipt.
3 PACKAGE="rsnapshot"
4 VERSION="1.3.1"
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="$WEB_SITE/downloads/$TARBALL"
12 CONFIG_FILES="/etc/rsnapshot.conf"
14 DEPENDS="perl rsync"
15 BUILD_DEPENDS="perl rsync"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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 }