wok-current view clamtk/receipt @ rev 19315
Check manpages... to ddd.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 12 15:00:21 2016 +0300 (2016-07-12) |
parents | 223b265f40fd |
children | 351d04534fa0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="clamtk"
4 VERSION="4.36"
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 gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
22 # libs
23 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
24 for n in $src/lib/* ; do
25 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
26 done
28 #localization
29 for n in $src/po/*.mo ; do
30 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
31 done
33 # pixmaps
34 install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
35 install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png
37 # menu
38 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
40 cook_pick_manpages clamtk.1.gz
41 }