wok view rsnapshot/receipt @ rev 23243
created recipe for nim, successor of nimrod
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 10:14:20 2020 +0100 (2020-03-25) |
parents | 97aacc6e3c16 |
children | 290e737cb4f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rsnapshot"
4 VERSION="1.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="A remote filesystem snapshot utility."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://rsnapshot.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}downloads/$TARBALL"
14 DEPENDS="perl rsync"
15 BUILD_DEPENDS="automake perl rsync"
17 CONFIG_FILES="/etc/rsnapshot.conf"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./autogen.sh &&
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 mkdir -p $fs/etc
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/etc/rsnapshot.conf.default $fs/etc/rsnapshot.conf
41 }