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