wok-next annotate rsnapshot/receipt @ rev 19528

harfbuzz: mv /usr/bin to harfbuzz-apps (hg add)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Nov 28 16:31:17 2016 +0100 (2016-11-28)
parents 26095987c2ac
children bf2a0cb054c1
rev   line source
slaxemulator@6524 1 # SliTaz package receipt.
slaxemulator@6524 2
slaxemulator@6524 3 PACKAGE="rsnapshot"
slaxemulator@6524 4 VERSION="1.3.1"
slaxemulator@8858 5 CATEGORY="system-tools"
slaxemulator@6524 6 SHORT_DESC="A remote filesystem snapshot utility"
slaxemulator@6524 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15593 8 LICENSE="GPL2"
slaxemulator@6524 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6524 10 WEB_SITE="http://www.rsnapshot.org"
slaxemulator@6524 11 WGET_URL="$WEB_SITE/downloads/$TARBALL"
slaxemulator@6524 12 CONFIG_FILES="/etc/rsnapshot.conf"
slaxemulator@6524 13
pascal@15593 14 DEPENDS="perl rsync"
pascal@15593 15 BUILD_DEPENDS="perl rsync"
pascal@15593 16
slaxemulator@6524 17 # Rules to configure and make the package.
slaxemulator@6524 18 compile_rules()
slaxemulator@6524 19 {
slaxemulator@6524 20 cd $src
slaxemulator@6524 21 ./configure \
slaxemulator@6524 22 --prefix=/usr \
slaxemulator@6524 23 --infodir=/usr/share/info \
slaxemulator@6524 24 --mandir=/usr/share/man \
slaxemulator@6524 25 --sysconfdir=/etc \
slaxemulator@6524 26 $CONFIGURE_ARGS &&
pascal@15593 27 make && make DESTDIR=$DESTDIR install
slaxemulator@6524 28 }
slaxemulator@6524 29
slaxemulator@6524 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6524 31 genpkg_rules()
slaxemulator@6524 32 {
slaxemulator@6524 33 mkdir -p $fs/usr $fs/etc
pascal@15593 34 cp -a $install/usr/bin $fs/usr
pascal@15593 35 cp -a $install/etc/rsnapshot.conf.default $fs/etc/rsnapshot.conf
slaxemulator@6524 36 }
slaxemulator@6524 37