From 3224706d60ba985ec508a03281ff9df7a946cb5a Mon Sep 17 00:00:00 2001 From: Thomas Beierlein Date: Mon, 16 Nov 2015 21:34:45 +0100 Subject: sci-electronics/irsim: Maintenance release Package-Manager: portage-2.2.24 --- sci-electronics/irsim/irsim-9.7.93.ebuild | 50 +++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 sci-electronics/irsim/irsim-9.7.93.ebuild (limited to 'sci-electronics/irsim/irsim-9.7.93.ebuild') diff --git a/sci-electronics/irsim/irsim-9.7.93.ebuild b/sci-electronics/irsim/irsim-9.7.93.ebuild new file mode 100644 index 000000000000..c7dc3228cadb --- /dev/null +++ b/sci-electronics/irsim/irsim-9.7.93.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib + +DESCRIPTION="IRSIM is a \"switch-level\" simulator" +HOMEPAGE="http://opencircuitdesign.com/irsim/" +SRC_URI="http://opencircuitdesign.com/irsim/archive/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/tcl:0 + dev-lang/tk:0" +DEPEND="${RDEPEND} + app-shells/tcsh" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-9.7.72-ldflags.patch + epatch "${FILESDIR}"/${PN}-9.7.79-datadir.patch +} + +src_configure() { + # Short-circuit top-level configure script to retain CFLAGS + cd scripts + #tc-export CPP + econf +} + +src_install() { + emake DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install + dodoc README +} + +pkg_postinst() { + einfo + einfo "You will probably need to add to your ~/.Xdefaults" + einfo "the following line:" + einfo "irsim.background: black" + einfo + einfo "This is needed because Gentoo from default sets a" + einfo "grey background which makes impossible to see the" + einfo "simulation (white line on light gray background)." + einfo +} -- cgit v1.2.3-65-gdbad