summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-03-24 16:20:04 +0000
committerJakub Moc <jakub@gentoo.org>2007-03-24 16:20:04 +0000
commit01ffcf8320c0964ae70b51038b99ea25f04d2119 (patch)
treedf83693a5b20f6473c66e07598a9b724c974af78 /app-antivirus/clamtk
parentapp-antivirus/clamtk: Nuke old, add missing dependency (diff)
downloadsunrise-01ffcf8320c0964ae70b51038b99ea25f04d2119.tar.gz
sunrise-01ffcf8320c0964ae70b51038b99ea25f04d2119.tar.bz2
sunrise-01ffcf8320c0964ae70b51038b99ea25f04d2119.zip
app-antivirus/clamtk: Add KDE integration
svn path=/sunrise/; revision=3278
Diffstat (limited to 'app-antivirus/clamtk')
-rw-r--r--app-antivirus/clamtk/ChangeLog3
-rw-r--r--app-antivirus/clamtk/Manifest4
-rw-r--r--app-antivirus/clamtk/clamtk-2.30-r1.ebuild63
3 files changed, 69 insertions, 1 deletions
diff --git a/app-antivirus/clamtk/ChangeLog b/app-antivirus/clamtk/ChangeLog
index 385717d1a..eaf350c0a 100644
--- a/app-antivirus/clamtk/ChangeLog
+++ b/app-antivirus/clamtk/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Mar 2007; Jakub Moc <jakub@gentoo.org> +clamtk-2.30-r1.ebuild:
+ Add KDE integration
+
24 Mar 2007; Jakub Moc <jakub@gentoo.org> -clamtk-2.27.ebuild,
clamtk-2.30.ebuild:
Nuke old, add missing dependency
diff --git a/app-antivirus/clamtk/Manifest b/app-antivirus/clamtk/Manifest
index 3955063a2..2f5fb1e3d 100644
--- a/app-antivirus/clamtk/Manifest
+++ b/app-antivirus/clamtk/Manifest
@@ -1,4 +1,6 @@
DIST clamtk-2.30.tar.gz 119305 RMD160 8392a71ad39a98f81f804eed17a6da8951825f58 SHA1 91a8f978325ac9cb5dcd9209a454d49771512915 SHA256 a0fe509aa62e19b29b583eb849b88f3bf33f8080ed203bb29bf3c41fbb919fed
+DIST clamtk-kde-0.05.tar.gz 6814 RMD160 81c687e81672b6d7e9a7e011d61b0267642829d3 SHA1 ba1b61584a2472f4bfb39aa6994dd211f15c94a5 SHA256 802486a9e7440e3a6ea175009ab0fea43029bcb27a9db5f90d3977449143c506
+EBUILD clamtk-2.30-r1.ebuild 1306 RMD160 bd965f4ee8d46b6f272893ca43b3a064c0352231 SHA1 2199ffaf1acb9631c732cced5d0cba9066848eb2 SHA256 3211193795836a994266a14b7cb7adc349d25fdda012ce5f65f4ece0b4822f4d
EBUILD clamtk-2.30.ebuild 931 RMD160 aaca104057df6c267cc737728b088615cbe9ec2c SHA1 692fba24b5624b1f6a0d1d6013583eaf67de96f7 SHA256 e89760d7bbc83a5841983ab0b61bb143fb9f19fed6d9b99773f06245343e8f4c
-MISC ChangeLog 1187 RMD160 7ae25d0fc5234122704b092186c9a455edb9930e SHA1 556afd6848038905a3410bae3f3121c065a68f07 SHA256 32d6652536941e77a006333f3a6aa98adf2c62bbe3bce3d19635b5f934e172d4
+MISC ChangeLog 1278 RMD160 fa3ead2eb90632c60e0cea4aeceabc92547946ca SHA1 517ef7165d77772086b3143d3222776f624ad021 SHA256 3d82ab38952767935d8f03bb2e6bb9a1df71e2970d6deaf73d7c841473f89870
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-antivirus/clamtk/clamtk-2.30-r1.ebuild b/app-antivirus/clamtk/clamtk-2.30-r1.ebuild
new file mode 100644
index 000000000..a95faeff8
--- /dev/null
+++ b/app-antivirus/clamtk/clamtk-2.30-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="A frontend for ClamAV using Gtk2-perl."
+HOMEPAGE="http://clamtk.sourceforge.net/"
+
+CLAMTK_KDEVER="0.05"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ kde? ( mirror://sourceforge/${PN}/${PN}-kde-${CLAMTK_KDEVER}.tar.gz )"
+
+LICENSE="Artistic GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+LANGS="cs da de es fr it pl pt_BR ru zh_CN"
+IUSE="nls kde"
+for i in ${LANGS}; do
+ IUSE="${IUSE} linguas_${i}"
+done
+
+DEPEND=""
+RDEPEND="dev-perl/gtk2-perl
+ dev-perl/File-Find-Rule
+ dev-perl/libwww-perl
+ dev-perl/Date-Calc
+ app-antivirus/clamav
+ nls? ( dev-perl/Locale-gettext )
+ kde? ( || ( kde-base/konqueror kde-base/kdebase ) )"
+
+
+src_install() {
+ dobin clamtk
+
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+
+ dodoc CHANGES DISCLAIMER README
+ doman ${PN}.1.gz
+
+ if use nls ; then
+ cd po/
+ mv cs_CZ.mo cs.mo
+ for n in *.mo ; do
+ if use linguas_${n/.mo} ; then
+ insinto /usr/share/locale/${n/.mo}/LC_MESSAGES
+ newins ${n} ${PN}.mo
+ fi
+ done
+ fi
+
+ if use kde ; then
+ cd ${WORKDIR}/${PN}-kde-${CLAMTK_KDEVER}
+ doicon ${PN}-kde.xpm
+ doman ${PN}-kde.1.gz
+ docinto KDE
+ dodoc CHANGES README
+ insinto /usr/share/apps/konqueror/servicemenus
+ doins ${PN}-kde.desktop
+ fi
+}