diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2010-03-21 19:34:45 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2010-03-21 19:34:45 +0000 |
commit | 56f0a5deea76f4cc6c06a5590f31cfe14f4c84c1 (patch) | |
tree | d41de60586bb9817f979ef1e47245a646f608986 /sci-electronics/ghdl | |
parent | Restrict xfce-base/xfce4-panel deps to 4.6 series. (diff) | |
download | historical-56f0a5deea76f4cc6c06a5590f31cfe14f4c84c1.tar.gz historical-56f0a5deea76f4cc6c06a5590f31cfe14f4c84c1.tar.bz2 historical-56f0a5deea76f4cc6c06a5590f31cfe14f4c84c1.zip |
Version bump, bug #310259.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics/ghdl')
-rw-r--r-- | sci-electronics/ghdl/ChangeLog | 9 | ||||
-rw-r--r-- | sci-electronics/ghdl/Manifest | 15 | ||||
-rw-r--r-- | sci-electronics/ghdl/ghdl-0.29.ebuild | 75 |
3 files changed, 86 insertions, 13 deletions
diff --git a/sci-electronics/ghdl/ChangeLog b/sci-electronics/ghdl/ChangeLog index 1c0c09ec4e77..2024dc15d242 100644 --- a/sci-electronics/ghdl/ChangeLog +++ b/sci-electronics/ghdl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/ghdl -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ChangeLog,v 1.10 2009/12/28 16:22:40 flameeyes Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ChangeLog,v 1.11 2010/03/21 19:34:45 calchan Exp $ + +*ghdl-0.29 (21 Mar 2010) + + 21 Mar 2010; <calchan@gentoo.org> +ghdl-0.29.ebuild: + Version bump, bug #310259. 28 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> ghdl-0.27.ebuild: Use emake -j1 for install, as per bug #277644. diff --git a/sci-electronics/ghdl/Manifest b/sci-electronics/ghdl/Manifest index c025e4d4d88d..57ffd704c3d6 100644 --- a/sci-electronics/ghdl/Manifest +++ b/sci-electronics/ghdl/Manifest @@ -1,15 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST gcc-core-4.2.4.tar.bz2 18927613 RMD160 d54581d0a2ecc22718e6be101c6dc524a4a88463 SHA1 540fa6949415ded321a7cbe80bbf8befe85e3566 SHA256 cfc9e7e14966097d24d510cfd905515e8f7464ab5379a50698ae3d88e1f7a532 +DIST gcc-core-4.3.4.tar.bz2 24329359 RMD160 0ed558bd465fcfa6ad123daa4b85aa7c498dc80f SHA1 5aae071fc542ee17dadfd8f22eaf79611fd175ba SHA256 3189838f5047be4ff54711c84db17c76ecfcc79bf4f4d110bf7323eeb90568fa DIST ghdl-0.27.tar.bz2 727691 RMD160 414b0af69eb64f3ddedec941dc961b3464aab4fa SHA1 21a7244d03228c022d838ce3ac685eaa08dbb7e4 SHA256 58aef8a797a5d860b59d436c76926075ee041914a32f68923c60e4b60f6bf199 +DIST ghdl-0.29.tar.bz2 784389 RMD160 c4bd5cff6dd928c6008f062cd033e215bb4b0535 SHA1 f207ab6425027176fd61b4ef440c5620e7ab6572 SHA256 6a4b01e14fae83b336ed33e8d92e0673a5999963ff569528e592721ab28db496 EBUILD ghdl-0.27.ebuild 2587 RMD160 25dd0ef4b53d4ef02140404dd21256b5075a35c7 SHA1 63953a6c75343ab9a1bf9d16527d5f6042ccbb56 SHA256 af654139eeb64a344d5c2cd36f2574fb1fdd7056e98c79cc45e39c4d3ba64076 -MISC ChangeLog 1637 RMD160 36e2566e163419060fd61fab36b14f14b297d2bb SHA1 ee2b7e62b93830b0613d58c0111c7c67832d6cff SHA256 7c01949868b66d7d0edcf1fded9e2428ba98f0122ae48fcf2a81d8b83d00bcbb +EBUILD ghdl-0.29.ebuild 2585 RMD160 53d50e7cfe9253efe7c0a28885037435188bfdb5 SHA1 d88fcd9c235777b89003249718ecd167553a766c SHA256 eaa82950f0677c2a833ddf18b7f396644622162faafd4f7d91dd6cb7e6dc2c2d +MISC ChangeLog 1746 RMD160 a9b82524c1ccaaaf7f12473fd00eb3dfad7c883d SHA1 44920892d57abe37696caf467f1aa1984fe4468c SHA256 6fa4e6450e35b15ea3730a021267286a303ffca74594a4d5456a67b7969006fe MISC metadata.xml 457 RMD160 1109ba523b49de11adbc2aab294b7dcf359c1871 SHA1 24b4eb79fe450ac62a80bab8ca0c7cf315afb231 SHA256 e7ff050c97cb69f7062abe8bde70d94f53c865bddeadfbfa2200f7dcb987f4f8 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEARECAAYFAks421kACgkQAiZjviIA2XikGgCg2BTZUqs4vs3J9kEf4jOO5LQ9 -/CsAn2qqRf38Nb3hWfHiYg3s5zfwu/Un -=pvzu ------END PGP SIGNATURE----- diff --git a/sci-electronics/ghdl/ghdl-0.29.ebuild b/sci-electronics/ghdl/ghdl-0.29.ebuild new file mode 100644 index 000000000000..08aba4ec60f3 --- /dev/null +++ b/sci-electronics/ghdl/ghdl-0.29.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ghdl-0.29.ebuild,v 1.1 2010/03/21 19:34:45 calchan Exp $ + +EAPI="2" + +inherit multilib + +GCC_VERSION="4.3.4" +GNATGCC_SLOT="4.3" + +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="~amd64 ~ppc ~x86" +IUSE="" +DEPEND=">=sys-apps/portage-2.1.2.10 + dev-lang/gnat-gcc:${GNATGCC_SLOT}" +RDEPEND="" +S="${WORKDIR}/gcc-${GCC_VERSION}" + +ADA_INCLUDE_PATH="${ROOT}/usr/lib/gnat-gcc/${CHOST}/${GNATGCC_SLOT}/adainclude" +ADA_OBJECTS_PATH="${ROOT}/usr/lib/gnat-gcc/${CHOST}/${GNATGCC_SLOT}/adalib" +GNATGCC_PATH="${ROOT}/usr/${CHOST}/gnat-gcc-bin/${GNATGCC_SLOT}:${ROOT}/usr/libexec/gnat-gcc/${CHOST}/${GNATGCC_SLOT}" + +src_prepare() { + mv "${WORKDIR}/${P}"/vhdl gcc + sed -i -e 's/ADAC = \$(CC)/ADAC = gnatgcc/' gcc/vhdl/Makefile.in || die "sed failed" + sed -i \ + -e 's/AGCC_CFLAGS=-g/AGCC_CFLAGS=$(CFLAGS)/' \ + -e 's/rm -rf $(infodir)/rm -rf $(DESTDIR)$(infodir)/' \ + gcc/vhdl/Make-lang.in || die "sed failed" + + # Fix issue similar to bug #195074, ported from vapier's fix for binutils + sed -i -e "s:egrep.*texinfo.*dev/null:egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null:" \ + configure* || die "sed failed" + + # For multilib profile arch, see bug #203721 + if (has_multilib_profile || use multilib ) ; then + for T_LINUX64 in `find "${S}/gcc/config" -name t-linux64` ; + do + einfo "sed for ${T_LINUX64} for multilib. :)" + sed -i \ + -e "s:\(MULTILIB_OSDIRNAMES = \).*:\1../lib64 ../lib32:" \ + "${T_LINUX64}" \ + || die "sed for ${T_LINUX64} failed. :(" + done + fi +} + +src_configure() { + PATH="${GNATGCC_PATH}:${PATH}" econf --enable-languages=vhdl +} + +src_compile() { + PATH="${GNATGCC_PATH}:${PATH}" emake -j1 || die "Compilation failed" +} + +src_install() { + # bug #277644 + PATH="${GNATGCC_PATH}:${PATH}" 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 +} |