wok annotate katarina/receipt @ rev 25635
Update some websites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 24 14:46:31 2023 +0000 (10 months ago) |
parents | ba7cbdb5749c |
children |
rev | line source |
---|---|
pascal@21774 | 1 # SliTaz package receipt. |
pascal@21774 | 2 |
pascal@21774 | 3 PACKAGE="katarina" |
pascal@21774 | 4 VERSION="2.0" |
pascal@21774 | 5 CATEGORY="network" |
pascal@21774 | 6 SHORT_DESC="rsync based multi profile, multi servers backup system" |
pascal@21774 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21774 | 8 LICENSE="GPL2" |
pascal@21774 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25460 | 10 WEB_SITE="https://katarina.sourceforge.net/" |
pascal@21774 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@21774 | 12 TAGS="backup rsync" |
pascal@21774 | 13 |
pascal@21774 | 14 DEPENDS="perl rsync" |
pascal@21774 | 15 |
pascal@24412 | 16 # What is the latest version available today? |
pascal@24412 | 17 current_version() |
pascal@24412 | 18 { |
pascal@24412 | 19 wget -O - https://sourceforge.net/projects/katarina/files/ 2>/dev/null | \ |
pascal@24412 | 20 sed '/scope="row/!d;s|.*/katarina-||;s|.tar.*||;q' |
pascal@24412 | 21 } |
pascal@24412 | 22 |
pascal@21774 | 23 # Rules to configure and make the package. |
pascal@21774 | 24 compile_rules() |
pascal@21774 | 25 { |
pascal@21774 | 26 sed -i 's|/usr/local/bin|/usr/bin|' *katarina* |
pascal@21774 | 27 } |
pascal@21774 | 28 |
pascal@21774 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21774 | 30 genpkg_rules() |
pascal@21774 | 31 { |
pascal@21774 | 32 mkdir -p $fs/var/log/katarina/status \ |
pascal@21774 | 33 $fs/var/log/katarina/stat \ |
pascal@21774 | 34 $fs/usr/bin $fs/var/run $fs/var/lock \ |
pascal@21774 | 35 $fs/etc/katarina |
pascal@21774 | 36 cp -a $src/*katarina* $fs/usr/bin |
pascal@21774 | 37 } |