wok view clamtk/receipt @ rev 20841

updated dokuwiki (2012-01-25 -> 20180422b)
author Hans-G?nter Theisgen
date Wed Feb 20 16:20:24 2019 +0100 (2019-02-20)
parents 90f9a5b32063
children ae883e35501e
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"
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 }