summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2009-07-11 21:28:35 +0000
committerDenis Dupeyron <calchan@gentoo.org>2009-07-11 21:28:35 +0000
commit708d9f7bc446f2f70ea6423465127a81a0aeda85 (patch)
tree3caa534332e0adf8c1f08c3c015a74ec9f32fd67 /sci-electronics/iverilog
parentInitial commit. Fixes bug 275929 (diff)
downloadgentoo-2-708d9f7bc446f2f70ea6423465127a81a0aeda85.tar.gz
gentoo-2-708d9f7bc446f2f70ea6423465127a81a0aeda85.tar.bz2
gentoo-2-708d9f7bc446f2f70ea6423465127a81a0aeda85.zip
Version bump, which apparently fixes bug #273834. Fixed LDFLAGS.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics/iverilog')
-rw-r--r--sci-electronics/iverilog/ChangeLog7
-rw-r--r--sci-electronics/iverilog/iverilog-0.9.1.ebuild49
2 files changed, 55 insertions, 1 deletions
diff --git a/sci-electronics/iverilog/ChangeLog b/sci-electronics/iverilog/ChangeLog
index 815f971693cd..ec3848b618ae 100644
--- a/sci-electronics/iverilog/ChangeLog
+++ b/sci-electronics/iverilog/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/iverilog
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/iverilog/ChangeLog,v 1.25 2009/05/16 17:59:43 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/iverilog/ChangeLog,v 1.26 2009/07/11 21:28:35 calchan Exp $
+
+*iverilog-0.9.1 (11 Jul 2009)
+
+ 11 Jul 2009; Denis Dupeyron <calchan@gentoo.org> +iverilog-0.9.1.ebuild:
+ Version bump, which apparently fixes bug #273834. Fixed LDFLAGS.
16 May 2009; nixnut <nixnut@gentoo.org> iverilog-0.8.6.ebuild:
ppc stable #245704
diff --git a/sci-electronics/iverilog/iverilog-0.9.1.ebuild b/sci-electronics/iverilog/iverilog-0.9.1.ebuild
new file mode 100644
index 000000000000..a3736fd2beab
--- /dev/null
+++ b/sci-electronics/iverilog/iverilog-0.9.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/iverilog/iverilog-0.9.1.ebuild,v 1.1 2009/07/11 21:28:35 calchan Exp $
+
+EAPI="2"
+
+inherit eutils multilib
+
+S="${WORKDIR}/verilog-${PV}"
+
+DESCRIPTION="A Verilog simulation and synthesis tool"
+SRC_URI="ftp://icarus.com/pub/eda/verilog/v${PV:0:3}/verilog-${PV}.tar.gz"
+HOMEPAGE="http://www.icarus.com/eda/verilog/"
+
+DEPEND=""
+RDEPEND=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ # Fix for bug #172919
+ sed -i -e '/# include <asm\/page.h>/d' vvp/main.cc || die "sed failed"
+
+ # Fix tests
+ mkdir -p lib/ivl
+ touch lib/ivl/ivl
+ sed -i -e 's/driver\/iverilog -B./IVERILOG_ROOT="." driver\/iverilog -B./' Makefile.in || die
+
+ # Fix LDFLAGS
+ sed -i -e 's/@shared@/@shared@ $(LDFLAGS)/' {cadpli,tgt-vhdl,tgt-null,tgt-stub,tgt-vvp}/Makefile.in || die "sed failed"
+}
+
+src_install() {
+ emake -j1 \
+ prefix="${D}"/usr \
+ mandir="${D}"/usr/share/man \
+ infodir="${D}"/usr/share/info \
+ libdir="${D}"/usr/$(get_libdir) \
+ libdir64="${D}"/usr/$(get_libdir) \
+ vpidir="${D}"/usr/$(get_libdir)/ivl \
+ install || die
+
+ dodoc *.txt
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+}