wok view clamtk/receipt @ rev 20801

updated collectd, collectd-apache and collectd-dev (5.1.0 -> 5.8.1)
author Hans-G?nter Theisgen
date Fri Feb 15 15:54:04 2019 +0100 (2019-02-15)
parents 267b3df625ae
children 7c0af4bc8b65
line source
1 # SliTaz package receipt.
3 PACKAGE="clamtk"
4 VERSION="5.27"
5 CATEGORY="network"
6 SHORT_DESC="ClamTk is a GUI front-end for ClamAV using gtk2-perl."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://clamtk.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 WGET_URL="https://bitbucket.org/davem_/$PACKAGE/downloads/$TARBALL"
15 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
16 perl-libwww perl-locale-gettext perl-net-dns udev"
17 BUILD_DEPENDS=""
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cook_pick_manpages clamtk.1.gz
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
30 # libs
31 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
32 for n in $src/lib/* ; do
33 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
34 done
36 #localization
37 for n in $src/po/*.mo ; do
38 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
39 done
41 # pixmaps
42 install -Dm644 $src/images/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
43 install -Dm644 $src/images/clamtk.png $fs/usr/share/pixmaps/clamtk.png
45 # menu
46 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
47 }