summaryrefslogtreecommitdiff
path: root/sci-electronics/gplcver
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-electronics/gplcver
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-electronics/gplcver')
-rw-r--r--sci-electronics/gplcver/Manifest7
-rw-r--r--sci-electronics/gplcver/gplcver-2.11a.ebuild58
-rw-r--r--sci-electronics/gplcver/gplcver-2.12a.ebuild64
-rw-r--r--sci-electronics/gplcver/metadata.xml18
4 files changed, 147 insertions, 0 deletions
diff --git a/sci-electronics/gplcver/Manifest b/sci-electronics/gplcver/Manifest
new file mode 100644
index 000000000000..9a006c6591f3
--- /dev/null
+++ b/sci-electronics/gplcver/Manifest
@@ -0,0 +1,7 @@
+DIST gplcver-2.11a.src.tar.bz2 1189439 SHA256 b64eea22f354bee2de09532309c6a1e3f3658c427fe2d063ef3921c1042fa380 SHA512 85f771ba880de78ea2acf427ef1e5250e114c2dd68bc0d4384ae56057a8856cf0f0700b3ab1a5d23aa1e4a426f2d8d9e5f80ced2b6c0c20013801ba700b7717a WHIRLPOOL ce6db515ab44565171100e0faa6b3dfacc7fa53b4af6fedfa21de7a6b9c7b91aba6ddd806d058e6e7148064410e63c73cb9e5bf085f05afae9f5ec3e39bf36e5
+DIST gplcver-2.12a.src.tar.bz2 1224470 SHA256 f7d94677677f10c2d1e366eda2d01a652ef5f30d167660905c100f52f1a46e75 SHA512 62835fd32c37865590c56e4e04cdd2b1e0918551a927fafe35a2b0838082af2af903e714d2afc0f28d76eb5c077e5b3f56cbf671dee5f38717ddea68a35753e5 WHIRLPOOL 55f681d8f52fff0637b2e9ba93c9c1551353a21a064a71d5f269a20bbf1d400837512809eeadc083f3f18595a510182bd0227ad9662d4d33d83efd81a3bd2e3f
+EBUILD gplcver-2.11a.ebuild 1393 SHA256 b14149d785cdcdd7af30856f5070581cc2ffa8a9d3786b2bf77015910d2c47fa SHA512 c18e695299f2de7179da1fa26514be14cb3c1a767d34876b772799f800278e715506c85a0699c0a5d516d88095a892aa88be7dfc53b5a096844070b2a3c8bae6 WHIRLPOOL 315f738d0f6260c1732d698930ed63928ec8919c3dc7019ac5c22f4397daed2381e45db736bbc15e37adff55f1b929408e78d710b52eedc898d3a61a097313ae
+EBUILD gplcver-2.12a.ebuild 1563 SHA256 78e6ffa0da09ad97fac1b38aaecade93472dcbf0467c8425dd2887af42415e8c SHA512 2d60a928c97df13220b86738743c33a8192aae266ba2eea9e20f7c3b22cc128551d820f8587a58ad8e081ffdea28bb9d256acd358fea60ea010d993b9aae6baf WHIRLPOOL e5817568e9edd2392f67d25e115ec36777bca44a737c3b8992ac41d4bee174f5f677ef889a5020be1dc14cd92e125e2499e229114e6c9a43cb48be08c80d8097
+MISC ChangeLog 3144 SHA256 63badc7e65e63451dde5e68f3aadcfce3077e65b024478ef3628f24c35e7d6b0 SHA512 680b2c7c1234330c465760b4aa63031a4c0a9609fc085053de3b24851dd82e5279e93278591488527b2229cb75d221dc8954705808f263e02234853b5d80736a WHIRLPOOL f399c578ac6f4510405c3f06fc2bd42169094d51f221130911b51e123ce323681a4adba9cac894b21ee064af00775d94d77cbd67c4ac6949c198bae1764f7c2e
+MISC ChangeLog-2015 1819 SHA256 4a694cef59e70f8f5c71197ab44a2e492ee2657fdd6d936ccd7be6c16d75e731 SHA512 47c5d2a7d458bbd9354a9acd75da0d166f40b98494bbb61f572d71e04fab4e672844eb5b3a7fb8a0a3c94495048c6662c8bf265642162fe06c95abfe4f9b24a1 WHIRLPOOL d9ec33943a4d21993bc3a136c76ff4818251e6196eb0de7246926fd6db594b1b4ccc19ebece982d220bcb748a2e2790ffc28114bf7349b391a2738c516255692
+MISC metadata.xml 732 SHA256 fb94e0342ee61e7ce34a9428dc96b82582cc932737dfa7e65bc9b76e4e8a6a27 SHA512 289c7b5b90ff5ae02eed23deca2d9a9ec9dac364aae5a38c66c6d0cb9c85b023feedc36c69e8541ec54f7ea75e7126d14b968b21d2dbf744df70b73f840148fb WHIRLPOOL 447de64b8c7a60518cc03da33bcb6512005825fe0fe06a3d3177aee3323ec23d453d8886b88ee014855bc6e2a8344ff96626d7912c774348e4948cbe607a93d6
diff --git a/sci-electronics/gplcver/gplcver-2.11a.ebuild b/sci-electronics/gplcver/gplcver-2.11a.ebuild
new file mode 100644
index 000000000000..aa2efbd9475a
--- /dev/null
+++ b/sci-electronics/gplcver/gplcver-2.11a.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/sci-electronics/gplcver/gplcver-2.12a.ebuild b/sci-electronics/gplcver/gplcver-2.12a.ebuild
new file mode 100644
index 000000000000..b4d8f130ca5a
--- /dev/null
+++ b/sci-electronics/gplcver/gplcver-2.12a.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+MY_PN=gpl-cver
+
+DESCRIPTION="Verilog simulator"
+HOMEPAGE="https://sourceforge.net/projects/${PN}"
+SRC_URI="http://www.pragmatic-c.com/${MY_PN}/downloads/${P}.src.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+S=${WORKDIR}/${P}.src
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s/^CFLAGS/#CFLAGS/" \
+ -e "s/(CFLAGS)/(INCS) \$(CFLAGS)/" \
+ -e "s/(LFLAGS)/(LFLAGS) \$(LDFLAGS)/" \
+ src/makefile.* || die "sed failed"
+ sed -i \
+ -e "s/^CFLAGS/#CFLAGS/" \
+ -e "s/(OPTFLGS) vcddiff.o/(LDFLAGS) vcddiff.o/" \
+ vcddiff.dir/src/makefile.* || die "sed failed"
+}
+
+src_compile(){
+ cd "${S}"/src
+ emake -f makefile.lnx || die "emake failed"
+ cd "${S}"/vcddiff.dir/src
+ emake -f makefile.lnx || die "emake failed"
+}
+
+src_install() {
+ dobin bin/cver bin/vcddiff || die "Failed installing binaries"
+ 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
+}
diff --git a/sci-electronics/gplcver/metadata.xml b/sci-electronics/gplcver/metadata.xml
new file mode 100644
index 000000000000..246fc329689e
--- /dev/null
+++ b/sci-electronics/gplcver/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-electronics@gentoo.org</email>
+ <name>Gentoo Electronics Project</name>
+ </maintainer>
+ <longdescription>
+ GPL Cver is a Verilog HDL simulator that is released under the GNU General
+ Public License. GPL Cver is a full 1995 P1364 Verilog standard HDL simulator.
+ It also implements some of the 2001 P1364 standard features including all
+ three PLI interfaces (tf_, acc_ and vpi_) as defined in the 2001 Language
+ Reference Manual (LRM).
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">gplcver</remote-id>
+ </upstream>
+</pkgmetadata>