summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/xnec2c/Manifest1
-rw-r--r--sci-electronics/xnec2c/xnec2c-3.5.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/sci-electronics/xnec2c/Manifest b/sci-electronics/xnec2c/Manifest
index a8700dc6ba38..d3872bad532c 100644
--- a/sci-electronics/xnec2c/Manifest
+++ b/sci-electronics/xnec2c/Manifest
@@ -1 +1,2 @@
DIST xnec2c-3.4.tar.bz2 922548 SHA256 92f25ee844d58109f99839854afacc14c37f4fdbc79f9d00c3a6c5f56248e537 SHA512 d71048ab8cbed1174e9773a273e63605de86efe4fd2b8ffb9c0862c9a3c6f9f54f241f9ea0dfdd59508d5860b8997c64685aac4d14aa7a60fdfd13194ef21378 WHIRLPOOL 503fc016653f46a5484ea6004d99a9cbafae9add31dc1968f20a3b0eb3b0c9c2eaee2a2d5f95c604cdc669ffedb9fc9b00882e0b2c46a531a3f7a58ebe30406e
+DIST xnec2c-3.5.tar.bz2 915879 SHA256 622ad14612a70c10e3f14c504a64519d51cd0a9d7cf7818c7d95a56452b736b7 SHA512 c3225ade9b624b458db7146da0c3cac03e287a1ca2ffce6fad77edc4fe7c1446156de6ab5f2e45a33b35916c4f07468bc2bdba96d9d186accb4b373b571ef897 WHIRLPOOL cf0357373ac96d43cfd91635e835ba7e3cfe382925bb6c8e8d6888342229c95d5897c629ae68a136819dee0ab2b3b05051bdb7cd8d3160625f6e75522c3071af
diff --git a/sci-electronics/xnec2c/xnec2c-3.5.ebuild b/sci-electronics/xnec2c/xnec2c-3.5.ebuild
new file mode 100644
index 000000000000..8631c5df2da7
--- /dev/null
+++ b/sci-electronics/xnec2c/xnec2c-3.5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="A GTK+ graphical interactive version of nec2c"
+HOMEPAGE="http://www.qsl.net/5b4az/pages/nec2.html"
+SRC_URI="http://www.qsl.net/5b4az/pkg/nec2/xnec2c/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_prepare() {
+ glib-gettextize --force --copy || die
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ dodoc AUTHORS README doc/*.txt
+ use doc && dohtml -r doc/*.html doc/images
+ insinto /usr/share/doc/${PF}/examples
+ use examples && doins examples/*
+}