wok-current annotate clamtk/receipt @ rev 20103
Typo in pypdf2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 09 16:28:52 2017 +0200 (2017-10-09) |
parents | 42e0165c64b9 |
children | 525ee8f0d206 |
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" |
al@19315 | 9 WEB_SITE="http://clamtk.sourceforge.net/" |
slaxemulator@10153 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
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 |
al@19316 | 17 # Rules to configure and make the package. |
al@19316 | 18 compile_rules() |
al@19316 | 19 { |
al@19316 | 20 cook_pick_manpages clamtk.1.gz |
al@19316 | 21 } |
al@19316 | 22 |
slaxemulator@10153 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10153 | 24 genpkg_rules() |
slaxemulator@10153 | 25 { |
slaxemulator@10153 | 26 install -Dm755 $src/clamtk $fs/usr/bin/clamtk |
slaxemulator@10153 | 27 |
slaxemulator@10153 | 28 # libs |
pascal@13751 | 29 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g') |
slaxemulator@10153 | 30 for n in $src/lib/* ; do |
pascal@13751 | 31 install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n` |
slaxemulator@10153 | 32 done |
slaxemulator@10153 | 33 |
slaxemulator@10153 | 34 #localization |
slaxemulator@10153 | 35 for n in $src/po/*.mo ; do |
slaxemulator@10153 | 36 install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo |
slaxemulator@10153 | 37 done |
slaxemulator@10153 | 38 |
slaxemulator@10153 | 39 # pixmaps |
slaxemulator@10153 | 40 install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm |
slaxemulator@10153 | 41 install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png |
slaxemulator@10153 | 42 |
slaxemulator@10153 | 43 # menu |
slaxemulator@10153 | 44 install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop |
slaxemulator@10153 | 45 } |