wok-4.x annotate rsnapshot/receipt @ rev 12375
Fix missing build-depends nux-module-headers
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Jan 24 10:27:57 2013 +0100 (2013-01-24) |
parents | 7a7cd095221d |
children |
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" |
slaxemulator@6524 | 8 DEPENDS="perl rsync" |
slaxemulator@6524 | 9 BUILD_DEPENDS="perl rsync" |
slaxemulator@6524 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6524 | 11 WEB_SITE="http://www.rsnapshot.org" |
slaxemulator@6524 | 12 WGET_URL="$WEB_SITE/downloads/$TARBALL" |
slaxemulator@6524 | 13 CONFIG_FILES="/etc/rsnapshot.conf" |
slaxemulator@6524 | 14 |
slaxemulator@6524 | 15 # Rules to configure and make the package. |
slaxemulator@6524 | 16 compile_rules() |
slaxemulator@6524 | 17 { |
slaxemulator@6524 | 18 cd $src |
slaxemulator@6524 | 19 ./configure \ |
slaxemulator@6524 | 20 --prefix=/usr \ |
slaxemulator@6524 | 21 --infodir=/usr/share/info \ |
slaxemulator@6524 | 22 --mandir=/usr/share/man \ |
slaxemulator@6524 | 23 --sysconfdir=/etc \ |
slaxemulator@6524 | 24 $CONFIGURE_ARGS && |
slaxemulator@6524 | 25 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6524 | 26 } |
slaxemulator@6524 | 27 |
slaxemulator@6524 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6524 | 29 genpkg_rules() |
slaxemulator@6524 | 30 { |
slaxemulator@6524 | 31 mkdir -p $fs/usr $fs/etc |
slaxemulator@6524 | 32 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6524 | 33 cp -a $_pkg/etc/rsnapshot.conf.default $fs/etc/rsnapshot.conf |
slaxemulator@6524 | 34 } |
slaxemulator@6524 | 35 |