1 # Copyright 1999-2012 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 te th tr ug uk uz zh_CN zh_TW"
20 IUSE="${IUSE} linguas_${i}"
24 RDEPEND=">=dev-perl/gtk2-perl-1.140
25 dev-perl/File-Find-Rule
28 dev-util/desktop-file-utils
29 >=app-antivirus/clamav-0.95
30 nls? ( dev-perl/Locale-gettext )
36 gunzip ${PN}.1.gz || die "gunzip failed"
40 dobin ${PN} || die "dobin failed"
42 doicon images/${PN}.png || die "doicon failed"
43 domenu ${PN}.desktop || die "domenu failed"
45 dodoc CHANGES README || die "dodoc failed"
46 doman ${PN}.1 || die "doman failed"
48 # The custom Perl modules
50 insinto ${VENDOR_LIB}/ClamTk
51 doins lib/*.pm || die "doins failed"
54 domo po/*.mo || die "domo failed"