wok-next view rsnapshot/receipt @ rev 19605

Up/recook: cpio, libssh2, gpm, mc.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 28 16:18:25 2017 +0200 (2017-01-28)
parents 26095987c2ac
children bf2a0cb054c1
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 }