wok-next annotate clamtk/receipt @ rev 20904
libgdata: update bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 30 23:44:42 2018 +0300 (2018-07-30) |
parents | ded7bc956f55 |
children | d5aab818505e |
rev | line source |
---|---|
al@20623 | 1 # SliTaz package receipt v2. |
slaxemulator@10153 | 2 |
slaxemulator@10153 | 3 PACKAGE="clamtk" |
slaxemulator@11047 | 4 VERSION="4.36" |
slaxemulator@10153 | 5 CATEGORY="network" |
al@20623 | 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/" |
al@20623 | 10 |
slaxemulator@10153 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@10153 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@10153 | 13 |
al@20623 | 14 compile_rules() { |
al@20623 | 15 install -Dm755 $src/clamtk $install/usr/bin/clamtk |
slaxemulator@11047 | 16 |
al@20623 | 17 # libs |
al@20623 | 18 PERL_VER=$(. $WOK/perl/receipt; echo $VERSION) |
al@20623 | 19 for n in $src/lib/*; do |
al@20623 | 20 install -Dm644 $n $install/usr/lib/perl5/$PERL_VER/ClamTk/$(basename $n) |
al@20623 | 21 done |
al@20623 | 22 |
al@20623 | 23 #localization |
al@20623 | 24 for n in $src/po/*.mo; do |
al@20623 | 25 install -Dm644 $n $install/usr/share/locale/$(basename $n .mo)/LC_MESSAGES/clamtk.mo |
al@20623 | 26 done |
al@20623 | 27 |
al@20623 | 28 # pixmaps |
al@20623 | 29 install -Dm644 $src/clamtk.xpm $install/usr/share/pixmaps/clamtk.xpm |
al@20623 | 30 install -Dm644 $src/clamtk.png $install/usr/share/pixmaps/clamtk.png |
al@20623 | 31 |
al@20623 | 32 # menu |
al@20623 | 33 install -Dm644 $src/clamtk.desktop $install/usr/share/applications/clamtk.desktop |
al@20623 | 34 |
al@19316 | 35 cook_pick_manpages clamtk.1.gz |
al@19316 | 36 } |
al@19316 | 37 |
al@20623 | 38 genpkg_rules() { |
al@20623 | 39 copy @std *.mo |
al@20623 | 40 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \ |
al@20623 | 41 perl-libwww-perl perl-locale-gettext perl-net-dns eudev" |
slaxemulator@10153 | 42 } |