From 231a6f8e56e22942ac5104e015d444d50fbc0860 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Thu, 5 Jun 2014 17:47:07 +0400 Subject: [PATCH] clamtk-5.06 added --- app-antivirus/clamtk/Manifest | 1 + app-antivirus/clamtk/clamtk-5.06.ebuild | 60 +++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 app-antivirus/clamtk/Manifest create mode 100644 app-antivirus/clamtk/clamtk-5.06.ebuild diff --git a/app-antivirus/clamtk/Manifest b/app-antivirus/clamtk/Manifest new file mode 100644 index 00000000..180ecf1d --- /dev/null +++ b/app-antivirus/clamtk/Manifest @@ -0,0 +1 @@ +DIST clamtk-5.06.tar.gz 896243 SHA256 af74f808d049edbeff3a7c4668155e40007676ee5cfa74b652bd57c37b26e1d0 SHA512 500a67d701c3775aa3e9430bf851124670100bf4adc3c433a787b7d4a65e12c3869eca670682eb9cc3d94f5752c1e1da4f427f424158075dda94a52f1bb1d5e5 WHIRLPOOL ec8b481efd61cc74d3feeade0f3da74f4a9c710f83b156037b16ffe7b5a6b14ef3122dcab7fa380dfda1e02179dbdb400e09013ae151cb2e4bf89c24537847c3 diff --git a/app-antivirus/clamtk/clamtk-5.06.ebuild b/app-antivirus/clamtk/clamtk-5.06.ebuild new file mode 100644 index 00000000..b1f5e88a --- /dev/null +++ b/app-antivirus/clamtk/clamtk-5.06.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils perl-module + +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" +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" +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 + >=app-antivirus/clamav-0.95 + nls? ( dev-perl/Locale-gettext ) + virtual/udev + dev-perl/JSON + dev-perl/Text-CSV" + +src_unpack() { + unpack ${A} + cd "${S}" + gunzip ${PN}.1.gz || die "gunzip failed" +} + +src_install() { + dobin ${PN} + + doicon images/* || die "doicon failed" + domenu ${PN}.desktop || die "domenu failed" + + dodoc CHANGES README + doman ${PN}.1 + + # The custom Perl modules + perlinfo + 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 +}