wok-6.x view rsnapshot/receipt @ rev 8958

Up: swig to 2.0.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 01 19:05:20 2011 +0000 (2011-03-01)
parents 7a7cd095221d
children 3b4e4318134e
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 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 }