wok-next view clamtk/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 5c189fc65a98 |
children | d376ab50305a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="clamtk"
4 VERSION="4.36"
5 CATEGORY="network"
6 SHORT_DESC="GUI front-end for ClamAV using gtk2-perl"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="http://clamtk.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 compile_rules() {
15 install -Dm755 $src/clamtk $install/usr/bin/clamtk
17 # libs
18 PERL_VER=$(. $WOK/perl/receipt; echo $VERSION)
19 for n in $src/lib/*; do
20 install -Dm644 $n $install/usr/lib/perl5/$PERL_VER/ClamTk/$(basename $n)
21 done
23 #localization
24 for n in $src/po/*.mo; do
25 install -Dm644 $n $install/usr/share/locale/$(basename $n .mo)/LC_MESSAGES/clamtk.mo
26 done
28 # pixmaps
29 install -Dm644 $src/clamtk.xpm $install/usr/share/pixmaps/clamtk.xpm
30 install -Dm644 $src/clamtk.png $install/usr/share/pixmaps/clamtk.png
32 # menu
33 install -Dm644 $src/clamtk.desktop $install/usr/share/applications/clamtk.desktop
35 cook_pick_manpages clamtk.1.gz
36 }
38 genpkg_rules() {
39 copy @std *.mo
40 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
41 perl-libwww-perl perl-locale-gettext perl-net-dns eudev"
42 }