wok-current view clamtk/receipt @ rev 23489
updated python-genshi (0.7 -> 0.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 17:33:33 2020 +0100 (2020-04-05) |
parents | 7c0af4bc8b65 |
children | 076f424196b2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="clamtk"
4 VERSION="5.27"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 WGET_URL="https://bitbucket.org/davem_/$PACKAGE/downloads/$TARBALL"
15 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
16 perl-json perl-libwww perl-locale-gettext perl-lwp-protocol-https \
17 perl-net-dns perl-net-ssleay perl-text-csv perl-try-tiny udev slitaz-icon"
18 BUILD_DEPENDS=""
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cook_pick_manpages clamtk.1.gz
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
31 # libs
32 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
33 for n in $src/lib/* ; do
34 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
35 done
37 #localization
38 for n in $src/po/*.mo ; do
39 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
40 done
42 # pixmaps
43 install -Dm644 $src/images/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
44 install -Dm644 $src/images/clamtk.png $fs/usr/share/pixmaps/clamtk.png
46 # menu
47 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
48 }