wok-next view clamtk/receipt @ rev 21231

updated clamtk (4.36 -> 5.27)
author Hans-G?nter Theisgen
date Tue Dec 03 17:21:10 2019 +0100 (2019-12-03)
parents d5aab818505e
children 0b5b70f68bbe
line source
1 # SliTaz package receipt v2.
3 PACKAGE="clamtk"
4 VERSION="5.27"
5 CATEGORY="network"
6 SHORT_DESC="GUI front-end for ClamAV using gtk2-perl"
7 MAINTAINER="maintainer@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"
13 WGET_URL="https://bitbucket.org/davem_/$PACKAGE/downloads/$TARBALL"
15 compile_rules()
16 {
17 install -Dm755 $src/clamtk $install/usr/bin/clamtk
19 # libraries
20 PERL_VER=$(. $WOK/perl/receipt; echo $VERSION)
21 for n in $src/lib/*
22 do
23 install -Dm644 $n $install/usr/lib/perl5/$PERL_VER/ClamTk/$(basename $n)
24 done
26 # localization
27 for n in $src/po/*.mo
28 do
29 install -Dm644 $n $install/usr/share/locale/$(basename $n .mo)/LC_MESSAGES/clamtk.mo
30 done
32 # pixmaps
33 install -Dm644 $src/clamtk.xpm $install/usr/share/pixmaps/clamtk.xpm
34 install -Dm644 $src/clamtk.png $install/usr/share/pixmaps/clamtk.png
36 # menu
37 install -Dm644 $src/clamtk.desktop $install/usr/share/applications/clamtk.desktop
39 cook_pick_manpages clamtk.1.gz
40 }
42 genpkg_rules()
43 {
44 copy @std *.mo
45 DEPENDS="clamav eudev perl perl-date-calc perl-file-find-rule perl-gtk2
46 perl-libwww-perl perl-locale-gettext perl-net-dns"
47 }