wok-next annotate clamtk/receipt @ rev 11148
xterm: add xterm.desktop & xterm.png
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 01 09:40:24 2011 +0100 (2011-11-01) |
parents | f99bd1784ef1 |
children | 18dff2eb17c1 |
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 |
slaxemulator@10153 | 22 for n in $src/lib/* ; do |
slaxemulator@11047 | 23 install -Dm644 $n $fs/usr/share/perl5/site_perl/ClamTk/`basename $n` |
slaxemulator@10153 | 24 done |
slaxemulator@10153 | 25 |
slaxemulator@10153 | 26 #localization |
slaxemulator@10153 | 27 for n in $src/po/*.mo ; do |
slaxemulator@10153 | 28 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo |
slaxemulator@10153 | 29 done |
slaxemulator@10153 | 30 |
slaxemulator@10153 | 31 # pixmaps |
slaxemulator@10153 | 32 install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm |
slaxemulator@10153 | 33 install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png |
slaxemulator@10153 | 34 |
slaxemulator@10153 | 35 # menu |
slaxemulator@10153 | 36 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop |
slaxemulator@10153 | 37 } |