wok-next diff clamtk/receipt @ rev 21231
updated clamtk (4.36 -> 5.27)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 17:21:10 2019 +0100 (2019-12-03) |
parents | d5aab818505e |
children | 0b5b70f68bbe |
line diff
1.1 --- a/clamtk/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/clamtk/receipt Tue Dec 03 17:21:10 2019 +0100 1.3 @@ -1,27 +1,31 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="clamtk" 1.7 -VERSION="4.36" 1.8 +VERSION="5.27" 1.9 CATEGORY="network" 1.10 SHORT_DESC="GUI front-end for ClamAV using gtk2-perl" 1.11 -MAINTAINER="devel@slitaz.org" 1.12 +MAINTAINER="maintainer@slitaz.org" 1.13 LICENSE="GPL" 1.14 WEB_SITE="http://clamtk.sourceforge.net/" 1.15 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 +#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.19 +WGET_URL="https://bitbucket.org/davem_/$PACKAGE/downloads/$TARBALL" 1.20 1.21 -compile_rules() { 1.22 +compile_rules() 1.23 +{ 1.24 install -Dm755 $src/clamtk $install/usr/bin/clamtk 1.25 1.26 - # libs 1.27 + # libraries 1.28 PERL_VER=$(. $WOK/perl/receipt; echo $VERSION) 1.29 - for n in $src/lib/*; do 1.30 + for n in $src/lib/* 1.31 + do 1.32 install -Dm644 $n $install/usr/lib/perl5/$PERL_VER/ClamTk/$(basename $n) 1.33 done 1.34 1.35 - #localization 1.36 - for n in $src/po/*.mo; do 1.37 + # localization 1.38 + for n in $src/po/*.mo 1.39 + do 1.40 install -Dm644 $n $install/usr/share/locale/$(basename $n .mo)/LC_MESSAGES/clamtk.mo 1.41 done 1.42 1.43 @@ -35,8 +39,9 @@ 1.44 cook_pick_manpages clamtk.1.gz 1.45 } 1.46 1.47 -genpkg_rules() { 1.48 +genpkg_rules() 1.49 +{ 1.50 copy @std *.mo 1.51 - DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \ 1.52 - perl-libwww-perl perl-locale-gettext perl-net-dns eudev" 1.53 + DEPENDS="clamav eudev perl perl-date-calc perl-file-find-rule perl-gtk2 1.54 + perl-libwww-perl perl-locale-gettext perl-net-dns" 1.55 }