wok-6.x annotate clamtk/receipt @ rev 13762
garcon: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 03 11:21:57 2013 +0100 (2013-01-03) |
parents | 6fe86b6fecff |
children | 223b265f40fd |
rev | line source |
---|---|
slaxemulator@10153 | 1 # SliTaz package receipt. |
slaxemulator@10153 | 2 |
slaxemulator@10153 | 3 PACKAGE="clamtk" |
slaxemulator@11047 | 4 VERSION="4.36" |
slaxemulator@10153 | 5 CATEGORY="network" |
slaxemulator@10153 | 6 SHORT_DESC="ClamTk is a GUI front-end for ClamAV using gtk2-perl." |
slaxemulator@10153 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@10153 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@10153 | 9 WEB_SITE="http://clamtk.sourceforge.net/" |
slaxemulator@10153 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@10153 | 11 |
slaxemulator@11047 | 12 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \ |
slaxemulator@11047 | 13 perl-libwww perl-locale-gettext perl-net-dns udev" |
slaxemulator@11047 | 14 BUILD_DEPENDS="" |
slaxemulator@11047 | 15 |
slaxemulator@10153 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10153 | 17 genpkg_rules() |
slaxemulator@10153 | 18 { |
slaxemulator@10153 | 19 install -Dm755 $src/clamtk $fs/usr/bin/clamtk |
slaxemulator@10153 | 20 |
slaxemulator@10153 | 21 # libs |
pascal@13751 | 22 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g') |
slaxemulator@10153 | 23 for n in $src/lib/* ; do |
pascal@13751 | 24 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n` |
slaxemulator@10153 | 25 done |
slaxemulator@10153 | 26 |
slaxemulator@10153 | 27 #localization |
slaxemulator@10153 | 28 for n in $src/po/*.mo ; do |
slaxemulator@10153 | 29 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo |
slaxemulator@10153 | 30 done |
slaxemulator@10153 | 31 |
slaxemulator@10153 | 32 # pixmaps |
slaxemulator@10153 | 33 install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm |
slaxemulator@10153 | 34 install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png |
slaxemulator@10153 | 35 |
slaxemulator@10153 | 36 # menu |
slaxemulator@10153 | 37 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop |
slaxemulator@10153 | 38 } |