clamtk updated to 5.09

This commit is contained in:
Kolan Sh 2015-03-22 14:04:09 +03:00
parent 650b6ec9e7
commit 30b5b9505c
2 changed files with 25 additions and 21 deletions

View File

@ -1 +1 @@
DIST clamtk-5.06.tar.gz 896243 SHA256 af74f808d049edbeff3a7c4668155e40007676ee5cfa74b652bd57c37b26e1d0 SHA512 500a67d701c3775aa3e9430bf851124670100bf4adc3c433a787b7d4a65e12c3869eca670682eb9cc3d94f5752c1e1da4f427f424158075dda94a52f1bb1d5e5 WHIRLPOOL ec8b481efd61cc74d3feeade0f3da74f4a9c710f83b156037b16ffe7b5a6b14ef3122dcab7fa380dfda1e02179dbdb400e09013ae151cb2e4bf89c24537847c3
DIST clamtk-5.09.tar.gz 895857 SHA256 7c483d5ba53c837008ff6b9a2aa4b8796bab00de0c0dae09b162a1925cfea241 SHA512 e031ffbcbdfa716807873443a65903df2e0b8af2d7a3bfa072420d54f47cc5e078617ef5db98b6706af904f85ed66cf98938aa7d814a1b3e447b66adf7573f87 WHIRLPOOL 34217caae0dfef3aad73af311e37ce82c0be9f4008392bf446f4891920a39d829b44f14ea72be6891ae68bc87d5f4fb665b0674509ab6cf0feba04a85942f3a4

View File

@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@ -10,30 +10,36 @@ DESCRIPTION="A frontend for ClamAV using Gtk2-perl"
HOMEPAGE="http://clamtk.sourceforge.net/"
SRC_URI="https://bitbucket.org/dave_theunsub/clamtk/downloads/${P}.tar.gz"
LICENSE="Artistic GPL-2"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
LANGS="af ar ast bg bs ca cs da de el_GR en_GB es eu fi fo fr gl he hr hu id it ja ko lt mr ms nb nl nn pl pt_BR pt ro ru sk sl sv te th tr ug uk uz zh_CN zh_TW"
IUSE="nls"
LANGS="af ar ast az bg bs ca cs da de el_GR en_AU en_CA en_GB es eu fi fo fr ga
gl he hr hu id it ja ko lt lv mr ms nb nl_BE nl nn pa pl pt_BR pt ro ru sk
sl sr@latin sv ta te th tr ug uk uz zh_CN zh_TW"
IUSE=""
for i in ${LANGS}; do
IUSE="${IUSE} linguas_${i}"
done
DEPEND=""
RDEPEND=">=dev-perl/gtk2-perl-1.140
dev-perl/libwww-perl
dev-perl/Date-Calc
dev-util/desktop-file-utils
RDEPEND="
>=app-antivirus/clamav-0.95
nls? ( dev-perl/Locale-gettext )
virtual/udev
dev-perl/JSON
dev-perl/Text-CSV"
dev-perl/LWP-Protocol-https
dev-perl/Locale-gettext
dev-perl/Text-CSV
dev-perl/glib-perl
dev-perl/gtk2-perl
dev-perl/libwww-perl
virtual/perl-Digest-SHA
virtual/perl-MIME-Base64
virtual/perl-Time-Piece
"
src_unpack() {
unpack ${A}
cd "${S}"
cd "${S}" || die "cd failed"
gunzip ${PN}.1.gz || die "gunzip failed"
}
@ -43,18 +49,16 @@ src_install() {
doicon images/* || die "doicon failed"
domenu ${PN}.desktop || die "domenu failed"
dodoc CHANGES README
dodoc CHANGES README DISCLAIMER
doman ${PN}.1
# The custom Perl modules
perlinfo
insinto ${VENDOR_LIB}/ClamTk
insinto "${VENDOR_LIB}/ClamTk"
doins lib/*.pm
if use nls; then
local l
for l in $LANGS; do
use "linguas_${l}" && domo "po/${l}.mo"
done
fi
local l
for l in ${LANGS}; do
use "linguas_${l}" && domo "po/${l}.mo"
done
}