wok-6.x annotate rsnapshot/receipt @ rev 19716
leocad: add -lpng12
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 08:12:10 2017 +0100 (2017-02-16) |
parents | 26095987c2ac |
children | 97aacc6e3c16 |
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 |