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