wok-6.x annotate rsnapshot/receipt @ rev 24813
updated libnetfilter_queue and libnetfilter_queue-dev (1.0.3 -> 1.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 17:30:17 2022 +0100 (2022-03-22) |
parents | 290e737cb4f9 |
children | 51e40ddb3d8c |
rev | line source |
---|---|
slaxemulator@6524 | 1 # SliTaz package receipt. |
slaxemulator@6524 | 2 |
slaxemulator@6524 | 3 PACKAGE="rsnapshot" |
Hans-G?nter@23619 | 4 VERSION="1.4.3" |
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@23619 | 15 BUILD_DEPENDS="perl rsync" |
pascal@15593 | 16 |
Hans-G?nter@21848 | 17 CONFIG_FILES="/etc/rsnapshot.conf" |
Hans-G?nter@21848 | 18 |
pascal@24427 | 19 # What is the latest version available today? |
pascal@24427 | 20 current_version() |
pascal@24427 | 21 { |
pascal@24427 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 24 } |
pascal@24427 | 25 |
slaxemulator@6524 | 26 # Rules to configure and make the package. |
slaxemulator@6524 | 27 compile_rules() |
slaxemulator@6524 | 28 { |
Hans-G?nter@21848 | 29 ./configure \ |
Hans-G?nter@21848 | 30 --prefix=/usr \ |
Hans-G?nter@21848 | 31 --infodir=/usr/share/info \ |
Hans-G?nter@21848 | 32 --mandir=/usr/share/man \ |
Hans-G?nter@21848 | 33 --sysconfdir=/etc \ |
slaxemulator@6524 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@21848 | 35 make && |
Hans-G?nter@21848 | 36 make DESTDIR=$DESTDIR install |
slaxemulator@6524 | 37 } |
slaxemulator@6524 | 38 |
slaxemulator@6524 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6524 | 40 genpkg_rules() |
slaxemulator@6524 | 41 { |
Hans-G?nter@21848 | 42 mkdir -p $fs/usr |
Hans-G?nter@21848 | 43 mkdir -p $fs/etc |
Hans-G?nter@21848 | 44 |
Hans-G?nter@21848 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21848 | 46 cp -a $install/etc/rsnapshot.conf.default $fs/etc/rsnapshot.conf |
slaxemulator@6524 | 47 } |