wok-current view clamtk/receipt @ rev 15534
Up: libfirefox (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:36:10 2013 +0100 (2013-11-24) |
parents | 18dff2eb17c1 |
children | 42e0165c64b9 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://clamtk.sourceforge.net/"
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
39 }