wok-current view rsnapshot/receipt @ rev 6612

Fixed giflib-dev, jpeg-dev, libpng-dev, tiff-dev, and zlib-dev. I made there wanted package be depends also since you need the .so files to compile things also most of the time.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 09 19:37:19 2010 +0000 (2010-10-09)
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 }