diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2010-08-25 17:43:39 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2010-08-25 17:43:39 +0000 |
commit | d3cb9ce4338861bd70a7efe2edf980d8a3ed1c70 (patch) | |
tree | 914aeb3d184edb73d1529c0cf81fd6056887f859 /sci-electronics/xnec2c/xnec2c-1.4.ebuild | |
parent | Stable on x86 and amd64. Since hppa is already done too. Per bug #333595. (diff) | |
download | gentoo-2-d3cb9ce4338861bd70a7efe2edf980d8a3ed1c70.tar.gz gentoo-2-d3cb9ce4338861bd70a7efe2edf980d8a3ed1c70.tar.bz2 gentoo-2-d3cb9ce4338861bd70a7efe2edf980d8a3ed1c70.zip |
Moved from science overlay, bug # 135573
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics/xnec2c/xnec2c-1.4.ebuild')
-rw-r--r-- | sci-electronics/xnec2c/xnec2c-1.4.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sci-electronics/xnec2c/xnec2c-1.4.ebuild b/sci-electronics/xnec2c/xnec2c-1.4.ebuild new file mode 100644 index 000000000000..b43cefc59feb --- /dev/null +++ b/sci-electronics/xnec2c/xnec2c-1.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xnec2c/xnec2c-1.4.ebuild,v 1.1 2010/08/25 17:43:39 tomjbe Exp $ + +EAPI="2" + +inherit autotools + +DESCRIPTION="A GTK+ graphical interactive version of nec2c." +HOMEPAGE="http://5b4az.chronos.org.uk/pages/nec2.html" +SRC_URI="http://5b4az.chronos.org.uk/pkg/nec2/xnec2c/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +S="${WORKDIR}/${PN}" + +RDEPEND="dev-libs/glib + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + sys-devel/gettext" + +src_prepare() { + glib-gettextize --force --copy || die + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS README doc/*.txt || die + dohtml -r doc/* || die + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins examples/* || die + fi +} |