summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2006-06-10 04:16:34 +0000
committerJakub Moc <jakub@gentoo.org>2006-06-10 04:16:34 +0000
commitcd2763efee231c74f6968d8c1c2eb116e53cc030 (patch)
tree7d56bfb7cbace534711f020cfaa6f5be3d792a87 /app-antivirus/xfprot
parentapp-antivirus/drweb - fix0r logrotate script typo in patch (diff)
downloadsunrise-cd2763efee231c74f6968d8c1c2eb116e53cc030.tar.gz
sunrise-cd2763efee231c74f6968d8c1c2eb116e53cc030.tar.bz2
sunrise-cd2763efee231c74f6968d8c1c2eb116e53cc030.zip
app-antivirus/xfprot - New ebuild. An improved version of an ebuild originally submitted by Marcelo Goes in Bug 105405.
svn path=/; revision=39
Diffstat (limited to 'app-antivirus/xfprot')
-rw-r--r--app-antivirus/xfprot/ChangeLog8
-rw-r--r--app-antivirus/xfprot/Manifest12
-rw-r--r--app-antivirus/xfprot/files/digest-xfprot-1.153
-rw-r--r--app-antivirus/xfprot/xfprot-1.15.ebuild69
4 files changed, 92 insertions, 0 deletions
diff --git a/app-antivirus/xfprot/ChangeLog b/app-antivirus/xfprot/ChangeLog
new file mode 100644
index 000000000..0c348c900
--- /dev/null
+++ b/app-antivirus/xfprot/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-antivirus/xfprot
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 10 Jun 2006; Jakub Moc <jakub@gentoo.org> +xfprot-1.15.ebuild:
+ New ebuild. An improved version of an ebuild originally submitted by Marcelo
+ Goes in Bug 105405.
+
diff --git a/app-antivirus/xfprot/Manifest b/app-antivirus/xfprot/Manifest
new file mode 100644
index 000000000..d5ec263e7
--- /dev/null
+++ b/app-antivirus/xfprot/Manifest
@@ -0,0 +1,12 @@
+DIST xfprot-1.15.tar.gz 107392 RMD160 15014030a70b2145d2cb72ca1e364f37458b39a3 SHA1 4f063da26221fb3b446c6d552dab880b8d941ec5 SHA256 2f6134fe21344c16dbaaa2875c3a15fe9c4e8c75c01d693c34ce72d66b4d59b7
+EBUILD xfprot-1.15.ebuild 2098 RMD160 2d0a4899344324723e38de0cd043f903d59b32b2 SHA1 8ff5d6bf9ef810d8332a6f5b457954a2216adaf0 SHA256 cb0ffa1ef25581a7dd55c2b134a94d3f6f45a58896ca673d95dcd07678c4cfd2
+MD5 fbefd785147928a2b0d90bc34ca8bb83 xfprot-1.15.ebuild 2098
+RMD160 2d0a4899344324723e38de0cd043f903d59b32b2 xfprot-1.15.ebuild 2098
+SHA256 cb0ffa1ef25581a7dd55c2b134a94d3f6f45a58896ca673d95dcd07678c4cfd2 xfprot-1.15.ebuild 2098
+MISC ChangeLog 288 RMD160 3e3fe24cfacac390a8f0ef0ff44b76cf8bdcd8e4 SHA1 62e0819679dd2ff56f57e8b54c27ae6dd4df155c SHA256 70afe8a87e95e928d83e195779862313372d4429d7db436df25c30ae07e0c7b3
+MD5 81dc0c1e3d1f7b45c9718ffc13c66d09 ChangeLog 288
+RMD160 3e3fe24cfacac390a8f0ef0ff44b76cf8bdcd8e4 ChangeLog 288
+SHA256 70afe8a87e95e928d83e195779862313372d4429d7db436df25c30ae07e0c7b3 ChangeLog 288
+MD5 2a20e3ce1081fb222be89ed3d0877785 files/digest-xfprot-1.15 235
+RMD160 04b4588a9d2c0346cccef3f9d9f520f5d08c7174 files/digest-xfprot-1.15 235
+SHA256 42274674e1b21de847701e831fcaa55eb2bd2d770650c4ec97cccc1ddbf12710 files/digest-xfprot-1.15 235
diff --git a/app-antivirus/xfprot/files/digest-xfprot-1.15 b/app-antivirus/xfprot/files/digest-xfprot-1.15
new file mode 100644
index 000000000..a63001748
--- /dev/null
+++ b/app-antivirus/xfprot/files/digest-xfprot-1.15
@@ -0,0 +1,3 @@
+MD5 4147a521cefd04da5dea242f266fae49 xfprot-1.15.tar.gz 107392
+RMD160 15014030a70b2145d2cb72ca1e364f37458b39a3 xfprot-1.15.tar.gz 107392
+SHA256 2f6134fe21344c16dbaaa2875c3a15fe9c4e8c75c01d693c34ce72d66b4d59b7 xfprot-1.15.tar.gz 107392
diff --git a/app-antivirus/xfprot/xfprot-1.15.ebuild b/app-antivirus/xfprot/xfprot-1.15.ebuild
new file mode 100644
index 000000000..9df9d7deb
--- /dev/null
+++ b/app-antivirus/xfprot/xfprot-1.15.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="A graphical frontend to the F-Prot Antivirus(TM) for Linux"
+HOMEPAGE="http://web.tiscali.it/sharp/xfprot/"
+SRC_URI="http://web.tiscali.it/sharp/xfprot/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE_LINGUAS="linguas_de linguas_en linguas_es linguas_fr linguas_it linguas_pl linguas_pt_BR"
+IUSE="${IUSE_LINGUAS} debug"
+
+DEPEND=">=x11-libs/gtk+-2
+ >=dev-libs/glib-2
+ >=app-antivirus/f-prot-4.6.0-r2"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ einfo "Please, set your LINGUAS to exactly ONE of the supported values."
+ einfo "This application cannot support multiple languages at the same time (yet)."
+}
+
+src_compile() {
+ local myconf=
+ use linguas_de && myconf="${myconf} --with-lang=de_DE"
+ use linguas_en && myconf="${myconf} --with-lang=en_GB"
+ use linguas_es && myconf="${myconf} --with-lang=es_ES"
+ use linguas_fr && myconf="${myconf} --with-lang=fr_FR"
+ use linguas_it && myconf="${myconf} --with-lang=it_IT"
+ use linguas_pl && myconf="${myconf} --with-lang=pl_PL"
+ use linguas_pt_BR && myconf="${myconf} --with-lang=pt_BR"
+
+ if [[ -z ${myconf} ]] ; then
+ einfo "You didn't select any language, defaulting to English."
+ einfo "If you want something else, set LINGUAS accordingly."
+ epause 3
+ myconf="--with-lang=en_GB"
+ fi
+
+ # not using econf because script does not like --prefix=/usr
+ ./configure \
+ --autodetect \
+ --with-install-dir="${D}/usr" \
+ --with-gtk2 \
+ ${myconf} \
+ $(use_with debug) || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ # install manually, make install produces stupid directory structure
+ newbin ${S}/xfprot-gtk xfprot
+
+ # Install the icons
+ insinto /usr/share/pixmaps
+ newins icons/antivirus-32x32.png xfprot.png
+ for res in 32x32 48x48 64x64 128x128 ; do
+ insinto /usr/share/icons/hicolor/${res}/apps/
+ newins icons/antivirus-${res}.png xfprot.png
+ done
+ make_desktop_entry ${PN} "XFProt (F-Prot AV GUI)" ${PN}.png "Security;System;GTK"
+
+ dodoc Changelog README eicar.com.txt
+}