wok view clamtk/receipt @ rev 20719

updated apulse (0.1.10 -> 0.1.12)
author Hans-G?nter Theisgen
date Fri Feb 08 14:58:54 2019 +0100 (2019-02-08)
parents 351d04534fa0
children 267b3df625ae
line source
1 # SliTaz package receipt.
3 PACKAGE="clamtk"
4 VERSION="4.37"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
14 perl-libwww perl-locale-gettext perl-net-dns udev"
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cook_pick_manpages clamtk.1.gz
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
28 # libs
29 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
30 for n in $src/lib/* ; do
31 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
32 done
34 #localization
35 for n in $src/po/*.mo ; do
36 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
37 done
39 # pixmaps
40 install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
41 install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png
43 # menu
44 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
45 }