wok annotate clamtk/receipt @ rev 23619

updated rsnapshot (1.4.2 -> 1.4.3)
author Hans-G?nter Theisgen
date Tue Apr 14 14:13:02 2020 +0100 (2020-04-14)
parents 7c0af4bc8b65
children 076f424196b2
rev   line source
slaxemulator@10153 1 # SliTaz package receipt.
slaxemulator@10153 2
slaxemulator@10153 3 PACKAGE="clamtk"
Hans-G?nter@20790 4 VERSION="5.27"
slaxemulator@10153 5 CATEGORY="network"
slaxemulator@10153 6 SHORT_DESC="ClamTk is a GUI front-end for ClamAV using gtk2-perl."
slaxemulator@10153 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15202 8 LICENSE="GPL"
al@19315 9 WEB_SITE="http://clamtk.sourceforge.net/"
Hans-G?nter@20790 10
Hans-G?nter@20790 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@20790 12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@20790 13 WGET_URL="https://bitbucket.org/davem_/$PACKAGE/downloads/$TARBALL"
slaxemulator@10153 14
slaxemulator@11047 15 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
mojo@20819 16 perl-json perl-libwww perl-locale-gettext perl-lwp-protocol-https \
pascal@21143 17 perl-net-dns perl-net-ssleay perl-text-csv perl-try-tiny udev slitaz-icon"
slaxemulator@11047 18 BUILD_DEPENDS=""
slaxemulator@11047 19
al@19316 20 # Rules to configure and make the package.
al@19316 21 compile_rules()
al@19316 22 {
al@19316 23 cook_pick_manpages clamtk.1.gz
al@19316 24 }
al@19316 25
slaxemulator@10153 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10153 27 genpkg_rules()
slaxemulator@10153 28 {
slaxemulator@10153 29 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
slaxemulator@10153 30
slaxemulator@10153 31 # libs
pascal@13751 32 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
slaxemulator@10153 33 for n in $src/lib/* ; do
pascal@13751 34 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
slaxemulator@10153 35 done
slaxemulator@10153 36
slaxemulator@10153 37 #localization
slaxemulator@10153 38 for n in $src/po/*.mo ; do
slaxemulator@10153 39 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
slaxemulator@10153 40 done
slaxemulator@10153 41
slaxemulator@10153 42 # pixmaps
Hans-G?nter@20791 43 install -Dm644 $src/images/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
Hans-G?nter@20791 44 install -Dm644 $src/images/clamtk.png $fs/usr/share/pixmaps/clamtk.png
slaxemulator@10153 45
slaxemulator@10153 46 # menu
slaxemulator@10153 47 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
slaxemulator@10153 48 }