wok-current annotate rsnapshot/receipt @ rev 25478

icedtea6-jdk: adjusted ecj version
author Hans-G?nter Theisgen
date Fri Oct 14 06:10:44 2022 +0100 (2022-10-14)
parents 83b97236db32
children
rev   line source
slaxemulator@6524 1 # SliTaz package receipt.
slaxemulator@6524 2
slaxemulator@6524 3 PACKAGE="rsnapshot"
Hans-G?nter@25286 4 VERSION="1.4.4"
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@25286 36 make install DESTDIR=$DESTDIR
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/etc
Hans-G?nter@21848 43
Hans-G?nter@21848 44 cp -a $install/etc/rsnapshot.conf.default $fs/etc/rsnapshot.conf
Hans-G?nter@25286 45 cook_copy_folders bin
slaxemulator@6524 46 }