wok-4.x view rsnapshot/receipt @ rev 12427
lxc: use ash shell for lxc-template;fix arch command, use (uname -m)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 12:16:47 2013 +0100 (2013-12-21) |
parents | 7a7cd095221d |
children |
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 }