wok diff clamtk/receipt @ rev 10153

Add clamtk.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 19:32:54 2011 +0000 (2011-05-20)
parents
children 6fe86b6fecff
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/clamtk/receipt	Fri May 20 19:32:54 2011 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="clamtk"
     1.7 +VERSION="4.32"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="ClamTk is a GUI front-end for ClamAV using gtk2-perl."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
    1.12 +perl-libwww perl-locale-gettext perl-net-dns udev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://clamtk.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	install -Dm755  $src/clamtk $fs/usr/bin/clamtk
    1.21 +
    1.22 +	# libs
    1.23 +	PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
    1.24 +	for n in $src/lib/* ; do
    1.25 +		install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
    1.26 +	done
    1.27 +  
    1.28 +	#localization
    1.29 +	for n in $src/po/*.mo ; do
    1.30 +		install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
    1.31 +	done
    1.32 +
    1.33 +	# pixmaps
    1.34 +	install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
    1.35 +	install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png
    1.36 +  
    1.37 +	# menu
    1.38 +	install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
    1.39 +}