wok-next view rsnapshot/receipt @ rev 7034

Change my mail
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Oct 31 23:30:12 2010 +0100 (2010-10-31)
parents
children 26095987c2ac
line source
1 # SliTaz package receipt.
3 PACKAGE="rsnapshot"
4 VERSION="1.3.1"
5 CATEGORY="systemtools"
6 SHORT_DESC="A remote filesystem snapshot utility"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="perl rsync"
9 BUILD_DEPENDS="perl rsync"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.rsnapshot.org"
12 WGET_URL="$WEB_SITE/downloads/$TARBALL"
13 CONFIG_FILES="/etc/rsnapshot.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/etc
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/etc/rsnapshot.conf.default $fs/etc/rsnapshot.conf
34 }