wok-6.x view clamtk/receipt @ rev 14335
Add linux-uml
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 13 15:34:35 2013 +0200 (2013-04-13) |
parents | 6fe86b6fecff |
children | 223b265f40fd |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://clamtk.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
13 perl-libwww perl-locale-gettext perl-net-dns udev"
14 BUILD_DEPENDS=""
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
21 # libs
22 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
23 for n in $src/lib/* ; do
24 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
25 done
27 #localization
28 for n in $src/po/*.mo ; do
29 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
30 done
32 # pixmaps
33 install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
34 install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png
36 # menu
37 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
38 }