wok-6.x view clamtk/receipt @ rev 20644

Add libsixel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 11 16:32:25 2019 +0100 (2019-01-11)
parents 42e0165c64b9
children 525ee8f0d206
line source
1 # SliTaz package receipt.
3 PACKAGE="clamtk"
4 VERSION="4.36"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
14 perl-libwww perl-locale-gettext perl-net-dns udev"
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cook_pick_manpages clamtk.1.gz
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
28 # libs
29 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
30 for n in $src/lib/* ; do
31 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
32 done
34 #localization
35 for n in $src/po/*.mo ; do
36 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
37 done
39 # pixmaps
40 install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
41 install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png
43 # menu
44 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
45 }