wok annotate clamtk/receipt @ rev 15659

c_icap: do not start daemon while cooking
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 12 07:48:19 2013 +0000 (2013-12-12)
parents 18dff2eb17c1
children 42e0165c64b9
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"
pascal@15202 8 LICENSE="GPL"
slaxemulator@10153 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@10153 10 WEB_SITE="http://clamtk.sourceforge.net/"
slaxemulator@10153 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@10153 12
slaxemulator@11047 13 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
slaxemulator@11047 14 perl-libwww perl-locale-gettext perl-net-dns udev"
slaxemulator@11047 15 BUILD_DEPENDS=""
slaxemulator@11047 16
slaxemulator@10153 17 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10153 18 genpkg_rules()
slaxemulator@10153 19 {
slaxemulator@10153 20 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
slaxemulator@10153 21
slaxemulator@10153 22 # libs
pascal@13751 23 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
slaxemulator@10153 24 for n in $src/lib/* ; do
pascal@13751 25 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
slaxemulator@10153 26 done
slaxemulator@10153 27
slaxemulator@10153 28 #localization
slaxemulator@10153 29 for n in $src/po/*.mo ; do
slaxemulator@10153 30 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
slaxemulator@10153 31 done
slaxemulator@10153 32
slaxemulator@10153 33 # pixmaps
slaxemulator@10153 34 install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
slaxemulator@10153 35 install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png
slaxemulator@10153 36
slaxemulator@10153 37 # menu
slaxemulator@10153 38 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
slaxemulator@10153 39 }