wok view clamtk/receipt @ rev 10852

Add dia back in.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jun 12 17:57:21 2011 +0000 (2011-06-12)
parents
children 6fe86b6fecff
line source
1 # SliTaz package receipt.
3 PACKAGE="clamtk"
4 VERSION="4.32"
5 CATEGORY="network"
6 SHORT_DESC="ClamTk is a GUI front-end for ClamAV using gtk2-perl."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
9 perl-libwww perl-locale-gettext perl-net-dns udev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://clamtk.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
19 # libs
20 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
21 for n in $src/lib/* ; do
22 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
23 done
25 #localization
26 for n in $src/po/*.mo ; do
27 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
28 done
30 # pixmaps
31 install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
32 install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png
34 # menu
35 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
36 }