1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils perl-module
9 DESCRIPTION="A frontend for ClamAV using Gtk2-perl"
10 HOMEPAGE="http://clamtk.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
13 LICENSE="Artistic GPL-2"
15 KEYWORDS="~amd64 ~x86"
17 LANGS="ar ast bg bs ca cs da de el en_GB es eu fi fo fr gl he hr hu id it ja ko lt ms nb nl nn pl pt pt_BR ro ru sk sl sv th tr ug uk zh_CN zh_TW"
20 IUSE="${IUSE} linguas_${i}"
24 RDEPEND=">=dev-perl/gtk2-perl-1.140
25 dev-perl/File-Find-Rule
29 dev-util/desktop-file-utils
30 >=app-antivirus/clamav-0.95
31 nls? ( dev-perl/Locale-gettext )
37 gunzip ${PN}.1.gz || die "gunzip failed"
41 dobin ${PN} || die "dobin failed"
43 doicon ${PN}.png || die "doicon failed"
44 domenu ${PN}.desktop || die "domenu failed"
46 dodoc CHANGES README || die "dodoc failed"
47 doman ${PN}.1 || die "doman failed"
49 # The custom Perl modules
51 insinto ${VENDOR_LIB}/ClamTk
52 doins lib/*.pm || die "doins failed"
55 domo po/*.mo || die "domo failed"