wok annotate clamtk/receipt @ rev 10284

calcurse: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 18:03:47 2011 +0000 (2011-05-21)
parents
children 6fe86b6fecff
rev   line source
slaxemulator@10153 1 # SliTaz package receipt.
slaxemulator@10153 2
slaxemulator@10153 3 PACKAGE="clamtk"
slaxemulator@10153 4 VERSION="4.32"
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 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
slaxemulator@10153 9 perl-libwww perl-locale-gettext perl-net-dns udev"
slaxemulator@10153 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@10153 11 WEB_SITE="http://clamtk.sourceforge.net/"
slaxemulator@10153 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@10153 13
slaxemulator@10153 14 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10153 15 genpkg_rules()
slaxemulator@10153 16 {
slaxemulator@10153 17 install -Dm755 $src/clamtk $fs/usr/bin/clamtk
slaxemulator@10153 18
slaxemulator@10153 19 # libs
slaxemulator@10153 20 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
slaxemulator@10153 21 for n in $src/lib/* ; do
slaxemulator@10153 22 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
slaxemulator@10153 23 done
slaxemulator@10153 24
slaxemulator@10153 25 #localization
slaxemulator@10153 26 for n in $src/po/*.mo ; do
slaxemulator@10153 27 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
slaxemulator@10153 28 done
slaxemulator@10153 29
slaxemulator@10153 30 # pixmaps
slaxemulator@10153 31 install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
slaxemulator@10153 32 install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png
slaxemulator@10153 33
slaxemulator@10153 34 # menu
slaxemulator@10153 35 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
slaxemulator@10153 36 }