wok-current annotate clamtk/receipt @ rev 20791

updated clamtk again (4.36 -> 5.27)
author Hans-G?nter Theisgen
date Thu Feb 14 17:04:00 2019 +0100 (2019-02-14)
parents 267b3df625ae
children 7c0af4bc8b65
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 \
slaxemulator@11047 16 perl-libwww perl-locale-gettext perl-net-dns udev"
slaxemulator@11047 17 BUILD_DEPENDS=""
slaxemulator@11047 18
al@19316 19 # Rules to configure and make the package.
al@19316 20 compile_rules()
al@19316 21 {
al@19316 22 cook_pick_manpages clamtk.1.gz
al@19316 23 }
al@19316 24
slaxemulator@10153 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10153 26 genpkg_rules()
slaxemulator@10153 27 {
slaxemulator@10153 28 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
slaxemulator@10153 29
slaxemulator@10153 30 # libs
pascal@13751 31 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
slaxemulator@10153 32 for n in $src/lib/* ; do
pascal@13751 33 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
slaxemulator@10153 34 done
slaxemulator@10153 35
slaxemulator@10153 36 #localization
slaxemulator@10153 37 for n in $src/po/*.mo ; do
slaxemulator@10153 38 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
slaxemulator@10153 39 done
slaxemulator@10153 40
slaxemulator@10153 41 # pixmaps
Hans-G?nter@20791 42 install -Dm644 $src/images/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
Hans-G?nter@20791 43 install -Dm644 $src/images/clamtk.png $fs/usr/share/pixmaps/clamtk.png
slaxemulator@10153 44
slaxemulator@10153 45 # menu
slaxemulator@10153 46 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
slaxemulator@10153 47 }