wok-current view clamtk/receipt @ rev 22333

Up mplayer (1.4)
author Richard Dunbar <mojo@slitaz.org>
date Fri Nov 15 08:58:24 2019 -0500 (2019-11-15)
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 }