diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-06-29 21:11:15 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-06-29 21:11:15 +0000 |
commit | 9157a1dfa92aa37003abaaf713b7649d6b2a25d3 (patch) | |
tree | fb8fa242051eaeaef313e262e533421a7b9e406c /sci-electronics/ghdl | |
parent | De-keyword m68k for <=1.0 since it is pointless there: no ctags support. (diff) | |
download | gentoo-2-9157a1dfa92aa37003abaaf713b7649d6b2a25d3.tar.gz gentoo-2-9157a1dfa92aa37003abaaf713b7649d6b2a25d3.tar.bz2 gentoo-2-9157a1dfa92aa37003abaaf713b7649d6b2a25d3.zip |
Initial commit, see bug #83877. Thanks to everybody for contributing to this bug and to Zac Medico for adapting Portage to ghdl.
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'sci-electronics/ghdl')
-rw-r--r-- | sci-electronics/ghdl/ChangeLog | 10 | ||||
-rw-r--r-- | sci-electronics/ghdl/Manifest | 17 | ||||
-rw-r--r-- | sci-electronics/ghdl/ghdl-0.26.ebuild | 55 | ||||
-rw-r--r-- | sci-electronics/ghdl/metadata.xml | 10 |
4 files changed, 92 insertions, 0 deletions
diff --git a/sci-electronics/ghdl/ChangeLog b/sci-electronics/ghdl/ChangeLog new file mode 100644 index 000000000000..5c95cdb6e422 --- /dev/null +++ b/sci-electronics/ghdl/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-electronics/ghdl +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ChangeLog,v 1.1 2007/06/29 21:11:15 calchan Exp $ + +*ghdl-0.26 (29 Jun 2007) + + 29 Jun 2007; Denis Dupeyron <calchan@gentoo.org> +ghdl-0.26.ebuild: + Initial commit, see bug #83877. Thanks to everybody for contributing to this + bug and to Zac Medico for adapting Portage to ghdl. + diff --git a/sci-electronics/ghdl/Manifest b/sci-electronics/ghdl/Manifest new file mode 100644 index 000000000000..412d0fd45ea6 --- /dev/null +++ b/sci-electronics/ghdl/Manifest @@ -0,0 +1,17 @@ +DIST gcc-core-4.1.2.tar.bz2 17485561 RMD160 612cbd5b795f7095fb3f565e6a8eaaee82c472c5 SHA1 d6875295f6df1bec4a6f4ab8f0da54bfb8d97306 SHA256 7be9c5df8000ae35d0928f0a254bfb5e8478cad5e5e57fd07820530c03b3711d +DIST ghdl-0.26.tar.bz2 723192 RMD160 1cfd7a17fd61c30e425835f87b4a500ce2bc89fa SHA1 affd89cbf1721ec83ef7deae536794e042dc13e7 SHA256 60987834e40c08c4830179e56f57d1ab906cc12b29ae58e3630d78da3e8ba8a0 +EBUILD ghdl-0.26.ebuild 1584 RMD160 8c640c819fb9e9e59c6130eba64f0aa650accf1b SHA1 45884daba211ad4b1d10b8d4ae910337064b799b SHA256 276d286f5e41c967a0ca89520bb326efe12a7310a1cd5473f93a27635dfb5bfd +MD5 84284e2727d5ad21653832c05cded510 ghdl-0.26.ebuild 1584 +RMD160 8c640c819fb9e9e59c6130eba64f0aa650accf1b ghdl-0.26.ebuild 1584 +SHA256 276d286f5e41c967a0ca89520bb326efe12a7310a1cd5473f93a27635dfb5bfd ghdl-0.26.ebuild 1584 +MISC ChangeLog 351 RMD160 b96b336e3808a53e68ba29c99f5acaab2ae313d2 SHA1 41c7c398be5c20c9fc7bf12097443715c6e6bfd1 SHA256 b80aa97e3aa3fc4516368159bbf49a287462203f5a5961789b37fd088206072f +MD5 9ee60cc4caeb142ab2d541fd8c7364df ChangeLog 351 +RMD160 b96b336e3808a53e68ba29c99f5acaab2ae313d2 ChangeLog 351 +SHA256 b80aa97e3aa3fc4516368159bbf49a287462203f5a5961789b37fd088206072f ChangeLog 351 +MISC metadata.xml 457 RMD160 1109ba523b49de11adbc2aab294b7dcf359c1871 SHA1 24b4eb79fe450ac62a80bab8ca0c7cf315afb231 SHA256 e7ff050c97cb69f7062abe8bde70d94f53c865bddeadfbfa2200f7dcb987f4f8 +MD5 03a5a2586e85ba518a96768ab01e1b25 metadata.xml 457 +RMD160 1109ba523b49de11adbc2aab294b7dcf359c1871 metadata.xml 457 +SHA256 e7ff050c97cb69f7062abe8bde70d94f53c865bddeadfbfa2200f7dcb987f4f8 metadata.xml 457 +MD5 7f1d4ae712dabf6fc9f84db9466f0854 files/digest-ghdl-0.26 485 +RMD160 08c585ac43651bf32fd3857a5734bfc73a9cada1 files/digest-ghdl-0.26 485 +SHA256 4b473236a38df84d3dc8a9f6796d1f7118c18b60ddefeac5885f8d939d13ea6b files/digest-ghdl-0.26 485 diff --git a/sci-electronics/ghdl/ghdl-0.26.ebuild b/sci-electronics/ghdl/ghdl-0.26.ebuild new file mode 100644 index 000000000000..ed551bb37981 --- /dev/null +++ b/sci-electronics/ghdl/ghdl-0.26.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ghdl-0.26.ebuild,v 1.1 2007/06/29 21:11:15 calchan Exp $ + +inherit multilib + +GCC_VERSION="4.1.2" + +DESCRIPTION="Complete VHDL simulator using the GCC technology" +HOMEPAGE="http://ghdl.free.fr" +SRC_URI="http://ghdl.free.fr/${P}.tar.bz2 + mirror://gnu/gcc/releases/gcc-${GCC_VERSION}/gcc-core-${GCC_VERSION}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=sys-apps/portage-2.1.2.10 + virtual/gnat" +RDEPEND="" +S="${WORKDIR}/gcc-${GCC_VERSION}" +MAKEOPTS="-j1" + +src_unpack() { + unpack ${A} + cd ${S} + mv ${WORKDIR}/${P}/vhdl gcc + sed -i \ + -e 's/ADAC = \$(CC)/ADAC = gnatgcc/' \ + -e '/^CFLAGS = -g/d' \ + gcc/vhdl/Makefile.in || die "sed failed" + sed -i -e 's/"-O -g"/"$(CFLAGS)"/' gcc/vhdl/Make-lang.in || die "sed failed" + + # Fix atan2 bug in math_complex-body.vhdl + sed -i -e 's/atan2(z.re,z.im)/atan2(z.im,z.re)/' \ + gcc/vhdl/libraries/ieee/math_complex-body.vhdl || die "sed failed" +} + +src_compile() { + econf --enable-languages=vhdl || die "Configuration failed" + emake || die "Compilation failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Installation failed" + + cd ${D}/usr/bin ; rm `ls --ignore=ghdl` + rm -rf ${D}/usr/include + rm ${D}/usr/$(get_libdir)/lib* + cd ${D}/usr/$(get_libdir)/gcc/${CHOST}/${GCC_VERSION} ; rm -rf `ls --ignore=vhdl*` + cd ${D}/usr/libexec/gcc/${CHOST}/${GCC_VERSION} ; rm -rf `ls --ignore=ghdl*` + cd ${D}/usr/share/info ; rm `ls --ignore=ghdl*` + cd ${D}/usr/share/man/man1 ; rm `ls --ignore=ghdl*` + rm -Rf ${D}/usr/share/locale + rm -Rf ${D}/usr/share/man/man7 +} diff --git a/sci-electronics/ghdl/metadata.xml b/sci-electronics/ghdl/metadata.xml new file mode 100644 index 000000000000..21cf833ed2ac --- /dev/null +++ b/sci-electronics/ghdl/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-electronics</herd> + <longdescription> + A complete VHDL simulator, using the GCC technology. GHDL implements the VHDL + language according to the IEEE 1076-1987 or the IEEE 1076-1993 standard. GHDL + compiles VHDL files and creates a binary which simulates (or executes) your design. + </longdescription> +</pkgmetadata> |