summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2005-05-22 18:04:46 +0000
committerChris Bainbridge <chrb@gentoo.org>2005-05-22 18:04:46 +0000
commitc30d8e1a01e74cea3ec16fa9b5ee8ff157226245 (patch)
tree9dbb83f593abd3392773dbd32d5e75da2ed0f517 /sci-electronics/gplcver
parentBump version, unmasking for x86 and sparc (diff)
downloadgentoo-2-c30d8e1a01e74cea3ec16fa9b5ee8ff157226245.tar.gz
gentoo-2-c30d8e1a01e74cea3ec16fa9b5ee8ff157226245.tar.bz2
gentoo-2-c30d8e1a01e74cea3ec16fa9b5ee8ff157226245.zip
Version bump, bug #91694.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sci-electronics/gplcver')
-rw-r--r--sci-electronics/gplcver/ChangeLog7
-rw-r--r--sci-electronics/gplcver/files/digest-gplcver-2.10c1
-rw-r--r--sci-electronics/gplcver/gplcver-2.10c.ebuild59
3 files changed, 66 insertions, 1 deletions
diff --git a/sci-electronics/gplcver/ChangeLog b/sci-electronics/gplcver/ChangeLog
index 9d7c2779cdba..3b631f5f5315 100644
--- a/sci-electronics/gplcver/ChangeLog
+++ b/sci-electronics/gplcver/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/gplcver
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gplcver/ChangeLog,v 1.3 2005/05/06 14:04:26 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gplcver/ChangeLog,v 1.4 2005/05/22 18:04:45 chrb Exp $
+
+*gplcver-2.10c (22 May 2005)
+
+ 22 May 2005; Chris Bainbridge <chrb@gentoo.org> +gplcver-2.10c.ebuild:
+ Version bump, bug #91694.
06 May 2005; David Holm <dholm@gentoo.org> gplcver-1.10j.ebuild:
Added to ~ppc.
diff --git a/sci-electronics/gplcver/files/digest-gplcver-2.10c b/sci-electronics/gplcver/files/digest-gplcver-2.10c
new file mode 100644
index 000000000000..0cf9936c5e8f
--- /dev/null
+++ b/sci-electronics/gplcver/files/digest-gplcver-2.10c
@@ -0,0 +1 @@
+MD5 e6221b7b9bfacf57dbdc1fca13e249de gplcver-2.10c.src.tar.bz2 1183806
diff --git a/sci-electronics/gplcver/gplcver-2.10c.ebuild b/sci-electronics/gplcver/gplcver-2.10c.ebuild
new file mode 100644
index 000000000000..84bec7083d4a
--- /dev/null
+++ b/sci-electronics/gplcver/gplcver-2.10c.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gplcver/gplcver-2.10c.ebuild,v 1.1 2005/05/22 18:04:45 chrb Exp $
+
+MY_PN=gpl-cver
+
+DESCRIPTION="Verilog simulator"
+HOMEPAGE="http://www.pragmatic-c.com/${MY_PN}"
+SRC_URI="http://www.pragmatic-c.com/${MY_PN}/downloads/${P}.src.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+S=${WORKDIR}/${P}.src
+
+src_unpack() {
+ unpack ${A}
+ sed -i -e "s/^\(CFLAGS= .*\)/#\1\nCFLAGS=\$(WARNS) \$(INCS) ${CFLAGS}/" ${S}/src/makefile.lnx
+ sed -i -e "s/^\(CFLAGS= .*\)/#\1\nCFLAGS= ${CFLAGS}/" ${S}/vcddiff.dir/src/makefile.lnx
+}
+
+src_compile(){
+ cd ${S}/src
+ emake -f makefile.lnx || die
+ cd ${S}/vcddiff.dir/src
+ emake -f makefile.lnx || die
+}
+
+src_install() {
+ dodir /usr
+ dodir /usr/bin
+ dobin bin/cver bin/vcddiff || die
+ doman doc/systasks.1
+ dodoc doc/README doc/cver*[!htm] doc/dbg.hlp doc/systasks.pdf vcddiff.dir/README.vcddiff
+ dohtml doc/cver.faq.htm
+ dodir /usr/include/cver_pli_incs
+ insinto /usr/include/cver_pli_incs
+ doins pli_incs/*.h
+}
+
+src_test() {
+ # fixme: make tests die if something fails
+ cd ${S}/tests_and_examples/
+ # first verify install
+ cd install.tst
+ ./inst_tst.sh
+ # now individual tests
+ cd ../capacity.tst
+ ../../bin/cver -f lfsr.vc
+ diff verilog.log lfsr.plg
+ cd ../examples.acc
+ ./inst_pli.sh lnx
+ #opt_inst_pli.sh lnx
+ cd ../examples.tf
+ ./inst_pli.sh lnx
+ #opt_inst_pli.sh lnx
+ cd ../examples.vpi
+ ./inst_pli.sh lnx
+}