diff options
author | Chris Bainbridge <chrb@gentoo.org> | 2006-08-15 18:53:27 +0000 |
---|---|---|
committer | Chris Bainbridge <chrb@gentoo.org> | 2006-08-15 18:53:27 +0000 |
commit | 254272c7e4fca7641fad1b255324d3f288927f2d (patch) | |
tree | 1b51be8a6819cbdd3cdc3b7cae434feec57bd79f /sci-electronics | |
parent | Buried. (diff) | |
download | historical-254272c7e4fca7641fad1b255324d3f288927f2d.tar.gz historical-254272c7e4fca7641fad1b255324d3f288927f2d.tar.bz2 historical-254272c7e4fca7641fad1b255324d3f288927f2d.zip |
Version bump.
Package-Manager: portage-2.1-r2
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/balsa/ChangeLog | 7 | ||||
-rw-r--r-- | sci-electronics/balsa/Manifest | 21 | ||||
-rw-r--r-- | sci-electronics/balsa/balsa-3.5.ebuild | 143 | ||||
-rw-r--r-- | sci-electronics/balsa/files/digest-balsa-3.5 | 18 |
4 files changed, 184 insertions, 5 deletions
diff --git a/sci-electronics/balsa/ChangeLog b/sci-electronics/balsa/ChangeLog index 08d87a799341..f2c8036ea8b9 100644 --- a/sci-electronics/balsa/ChangeLog +++ b/sci-electronics/balsa/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/balsa # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/ChangeLog,v 1.8 2006/07/07 17:38:13 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/ChangeLog,v 1.9 2006/08/15 18:53:27 chrb Exp $ + +*balsa-3.5 (15 Aug 2006) + + 15 Aug 2006; Chris Bainbridge <chrb@gentoo.org> +balsa-3.5.ebuild: + Version bump. 07 Jul 2006; Denis Dupeyron <calchan@gentoo.org> balsa-3.4.ebuild, balsa-3.4.3.ebuild: diff --git a/sci-electronics/balsa/Manifest b/sci-electronics/balsa/Manifest index 3442b6714cf5..4770165a7052 100644 --- a/sci-electronics/balsa/Manifest +++ b/sci-electronics/balsa/Manifest @@ -7,13 +7,19 @@ MD5 bcd70393f5c601c828613e1d1c630452 files/balsa-tech-3.4-configure.patch 1515 RMD160 e20cb57e98ecc716624a55d7499bd96ef066c9e5 files/balsa-tech-3.4-configure.patch 1515 SHA256 a9b6669e6c90c6c752cd64c5eb684a2fe4edcd4a56ba0006691d4fb77ee49364 files/balsa-tech-3.4-configure.patch 1515 DIST BalsaExamples3.4.tar.gz 2420060 +DIST BalsaExamples3.5.tar.gz 3129103 RMD160 3de009c2e4eb01f85783aaa9ecf059b875a628d5 SHA1 5aa10d41d90a204eb5989156cad5098c3a4b3725 SHA256 314bc91b756a61fd2661c94419ae8a3b2c2a34d34d3f75fc38a7fb37745572aa DIST BalsaManual3.4.2.pdf 8330850 DIST BalsaManual3.4.pdf 8615958 +DIST BalsaManual3.5.pdf 1270733 RMD160 48382fefcb2b38d92635dfd0377eed438934bf2b SHA1 41a40bd1dff051b310733f3030aedd18a3ff2554 SHA256 847bc11d046d462a7c5b568792aa4d29db7291906acc9c206a40e7565c7de026 DIST balsa-3.4.3.tar.gz 2530217 DIST balsa-3.4.tar.gz 1388342 +DIST balsa-3.5.tar.gz 2548896 RMD160 92521a798504f96573309af1cc156a87b43900e4 SHA1 43e859fea9f6d2f510c4d382ca388a05fa5bd059 SHA256 14dbe33521b007db5833cf6110363f9016cbdc085dcd54afe8657ddbe5a8920c DIST balsa-sim-verilog-3.4.tar.gz 199212 +DIST balsa-sim-verilog-3.5.tar.gz 317550 RMD160 1c68e85b112e0d2457b855f4ca9a38c3b64b9f00 SHA1 30e6015f50adbb470fd2e39efc12490d7b169ed3 SHA256 b3cebcf482ac749e0d982b532b5fe1c5f0ec4316cab7e3eff7a8d3928768c529 DIST balsa-tech-example-3.4.tar.gz 62925 +DIST balsa-tech-example-3.5.tar.gz 133932 RMD160 ba4db1c73acedca937b1f13cd75203e38d447952 SHA1 b96b6739144d73fba6917ff54192d22145c68df6 SHA256 b8d8020ffb91e9224e386adec825a9a3681a24932548257c0ad305f29f626d6c DIST balsa-tech-xilinx-3.4.3.tar.gz 168452 +DIST balsa-tech-xilinx-3.5.tar.gz 169267 RMD160 5e7ce5e7fe276686d2b46f301dadfe894eca1448 SHA1 90394a91ab1ff3a3e34c895591c85cbbcb165850 SHA256 75009f7d8c6a3bfd4b9e393d34a6e571f7f80d5d4d2bef6e2f8ea0a3a5bd17bc EBUILD balsa-3.4.3.ebuild 4633 RMD160 ec0b653d52e0f1f3ac0aa9e5e8c73bb05988e18b SHA1 04d62b59d32fb381673a8487e242f7d6a79001a7 SHA256 c5fe0b31d31c8712e76322cff9472ec43b759d29c1baca86dfbf828750891402 MD5 c76fa151f410769a9b3c35e490d571c2 balsa-3.4.3.ebuild 4633 RMD160 ec0b653d52e0f1f3ac0aa9e5e8c73bb05988e18b balsa-3.4.3.ebuild 4633 @@ -22,10 +28,14 @@ EBUILD balsa-3.4.ebuild 4634 RMD160 449735941ccbb7acf9f149fab977ac0a60e52ec9 SHA MD5 d20f09226c7390201d4d07a22292e9c5 balsa-3.4.ebuild 4634 RMD160 449735941ccbb7acf9f149fab977ac0a60e52ec9 balsa-3.4.ebuild 4634 SHA256 c3dd8961e09cb29238820c1395e2d23f3d2dd0d002d068e9216a7b722ce5f2eb balsa-3.4.ebuild 4634 -MISC ChangeLog 3648 RMD160 6ea330af1fecf0848596de833e913e1a68081dcf SHA1 f92e7f74bc523040532b09cee6d1f07e49c866cf SHA256 e12167ea054a4bdf53638f79af9989ae6349b406a07ee37217043ec714165859 -MD5 96d54bd6784fc1d3261d35c6d0f4d078 ChangeLog 3648 -RMD160 6ea330af1fecf0848596de833e913e1a68081dcf ChangeLog 3648 -SHA256 e12167ea054a4bdf53638f79af9989ae6349b406a07ee37217043ec714165859 ChangeLog 3648 +EBUILD balsa-3.5.ebuild 4104 RMD160 bf8a3b2c35a6e5b1e5cdceeafb76899f67c51f1a SHA1 e42d589f75e45c7259151131b782420b572f0459 SHA256 7fd65a0bfd7dd75f15cce7af6761630d4834c5873a2dcbab5a74d31418abdcbf +MD5 085ae456e0fd2bc3c25fa491f7d76d45 balsa-3.5.ebuild 4104 +RMD160 bf8a3b2c35a6e5b1e5cdceeafb76899f67c51f1a balsa-3.5.ebuild 4104 +SHA256 7fd65a0bfd7dd75f15cce7af6761630d4834c5873a2dcbab5a74d31418abdcbf balsa-3.5.ebuild 4104 +MISC ChangeLog 3757 RMD160 c74bf773044d069707417715afd1c85d184e715e SHA1 ec0b44d5e32ae552a76968a57f0c554dbbcab65c SHA256 fddcecec2e0d240287b5b5deaaff0c72f56910677b40850100d72b79e35c531d +MD5 66334a279f2b219df7f94eea79299019 ChangeLog 3757 +RMD160 c74bf773044d069707417715afd1c85d184e715e ChangeLog 3757 +SHA256 fddcecec2e0d240287b5b5deaaff0c72f56910677b40850100d72b79e35c531d ChangeLog 3757 MISC metadata.xml 711 RMD160 b5cba2755c7e0e7a41a059da084e033f8c8ce397 SHA1 ae0880e6c17902ad12abfc5813256e1463634be6 SHA256 4e378b625b109c0858195244e2f8321d6ed21ee1937f131232069e7b896e00ba MD5 d8ef8f3605a1c62960728dab7c811940 metadata.xml 711 RMD160 b5cba2755c7e0e7a41a059da084e033f8c8ce397 metadata.xml 711 @@ -36,3 +46,6 @@ SHA256 9a4e123446bdb52671894b474fcc73d74806972530644ad3b1a91845cfeb0ccc files/di MD5 507c302b043b154b5ba9e2659e9183f2 files/digest-balsa-3.4.3 420 RMD160 49154b1a061c619cf0c30bd83773db0f84c6ec56 files/digest-balsa-3.4.3 420 SHA256 8d724a4c7ddf581a96084e3e93bd7f8a9f818cb75c541235e90c2affd5a8bd1e files/digest-balsa-3.4.3 420 +MD5 06ec372921d245ab60c44a5d1c34e9ea files/digest-balsa-3.5 1521 +RMD160 69bd55a253ccde6eba6e094095eab81dc265aea4 files/digest-balsa-3.5 1521 +SHA256 2fe7704d8ca4689b20c66f053176260feaf0eed688cef65ca6accf084c891436 files/digest-balsa-3.5 1521 diff --git a/sci-electronics/balsa/balsa-3.5.ebuild b/sci-electronics/balsa/balsa-3.5.ebuild new file mode 100644 index 000000000000..d203ee42b0af --- /dev/null +++ b/sci-electronics/balsa/balsa-3.5.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/balsa-3.5.ebuild,v 1.1 2006/08/15 18:53:27 chrb Exp $ + +inherit eutils + +IUSE="" + +DESCRIPTION="The Balsa asynchronous synthesis system" +HOMEPAGE="http://www.cs.manchester.ac.uk/apt/projects/tools/balsa/" +SRC_URI="ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${PV}/BalsaExamples${PV}.tar.gz + ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${PV}/BalsaManual${PV}.pdf + ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${PV}/${P}.tar.gz + ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${PV}/${PN}-sim-verilog-${PV}.tar.gz + ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${PV}/${PN}-tech-example-${PV}.tar.gz + ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${PV}/${PN}-tech-xilinx-${PV}.tar.gz + " + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +DEPEND="virtual/libc + sys-devel/binutils + dev-libs/gmp + dev-lang/perl + x11-libs/gtk+ + sci-electronics/iverilog + sci-electronics/gplcver" + +RDEPEND="${DEPEND} + dev-util/guile + media-gfx/graphviz + sci-electronics/gtkwave + sci-electronics/espresso-ab" + +BALSA_TECH_AMS="balsa-tech-ams-20030506.tar.gz" + +if [ -f ${DISTDIR}/${BALSA_TECH_AMS} ]; then + TECH_AMS=1 +fi + +src_unpack() { + unpack ${A} + if [ $TECH_AMS ]; then + unpack ${BALSA_TECH_AMS} + fi + sed -i -e "s:\(DEFAULT_INCLUDES = \)\(.*\):\1-I${S}/src/libs/ \2/:" ${WORKDIR}/balsa-sim-verilog-${PV}/libs/Makefile.in + sed -i -e 's/ $(bindir)/ $(DESTDIR)$(bindir)/' ${S}/bin/Makefile.in + sed -i -e 's/ $(balsatypesdir)/ $(DESTDIR)$(balsatypesdir)/' ${S}/share/balsa/types/Makefile.in + sed -i -e 's/ $(balsasimdir)/ $(DESTDIR)$(balsasimdir)/' ${S}/share/balsa/sim/Makefile.in +} + +src_compile() { + # compile balsa + einfo "Compiling balsa" + ./configure --prefix=/usr/ || die "econf failed" + chmod +x bin/balsa-config + PATH=$PATH:${S}/bin + emake -j1 || die + + # configure AMS035 tech + if [ $TECH_AMS ]; then + einfo "Compiling AMS035 tech" + cd ${WORKDIR}/balsa-tech-ams-20030506 + econf || die "econf failed" + fi + + # config Xilinx FPGA backend + einfo "Compiling Xilinx FPGA backend" + cd ${WORKDIR}/balsa-tech-xilinx-${PV} + econf || die "econf failed" + + # config example tech + einfo "Compiling tech example" + cd ${WORKDIR}/balsa-tech-example-${PV} + econf || die "econf failed" + + # config verilog simulator wrappers + einfo "Compiling verilog simulator wrappers" + cd ${WORKDIR}/balsa-sim-verilog-${PV} + ./configure --includedir=${S}/src/libs/balsasim \ + --with-icarus-includes=/usr/include \ + --with-icarus-libs=/usr/lib \ + --with-cver-includes=/usr/include/cver_pli_incs || die +} + +src_install() { + # install balsa + cd ${S} + einfo "Installing balsa" + make DESTDIR=${D} install || die + + # install manual and examples + dodir /usr/share/doc/${P}/ + cp -pPR ${WORKDIR}/BalsaExamples ${D}/usr/share/doc/${P}/ + dodoc ${DISTDIR}/BalsaManual${PV}.pdf + + if [ $TECH_AMS ]; then + einfo "Installing AMS035 tech" + cd ${WORKDIR}/balsa-tech-ams-20030506 + make DESTDIR=${D} install || die "make install failed" + fi + + einfo "Installing Xilinx FPGA tech" + cd ${WORKDIR}/balsa-tech-xilinx-${PV} + make DESTDIR=${D} install || die "make install failed" + + einfo "Installing example tech" + cd ${WORKDIR}/balsa-tech-example-${PV} + make DESTDIR=${D} install || die "make install failed" + + einfo "Installing verilog simulator wrappers" + cd ${WORKDIR}/balsa-sim-verilog-${PV} + DESTDIR=${D} make install || die "make verilog wrappers failed" + + # fix paths + cd ${D} + einfo "Fixing paths" + find . -type f -exec sed -i -e "s:${D}::" {} \; + find . -name "sed*" -exec rm -f {} \; + + # add some docs + cd ${S} + einfo "Installing docs" + dodoc AUTHORS COPYING NEWS README TODO + mv ${D}/usr/doc/* ${D}/usr/share/doc/${P}/ + rmdir ${D}/usr/doc + + # fix collisions + rm -f ${D}/usr/bin/libtool +} + +pkg_postinst() { + if [ ! $TECH_AMS ]; then + elog "The AMS035 tech library was not installed." + elog "If you have the appropriate licenses request" + elog "the tech support files directly from balsa@cs.man.ac.uk" + elog "and add them to /usr/portage/distfiles before emerging." + else + elog "The AMS035 tech library was found and installed." + fi +} diff --git a/sci-electronics/balsa/files/digest-balsa-3.5 b/sci-electronics/balsa/files/digest-balsa-3.5 new file mode 100644 index 000000000000..e47fd756c0c0 --- /dev/null +++ b/sci-electronics/balsa/files/digest-balsa-3.5 @@ -0,0 +1,18 @@ +MD5 eacb865bbb617dcecf9c8030deab129b BalsaExamples3.5.tar.gz 3129103 +RMD160 3de009c2e4eb01f85783aaa9ecf059b875a628d5 BalsaExamples3.5.tar.gz 3129103 +SHA256 314bc91b756a61fd2661c94419ae8a3b2c2a34d34d3f75fc38a7fb37745572aa BalsaExamples3.5.tar.gz 3129103 +MD5 507a38f29cb0bb44c78af5a1579e4f67 BalsaManual3.5.pdf 1270733 +RMD160 48382fefcb2b38d92635dfd0377eed438934bf2b BalsaManual3.5.pdf 1270733 +SHA256 847bc11d046d462a7c5b568792aa4d29db7291906acc9c206a40e7565c7de026 BalsaManual3.5.pdf 1270733 +MD5 954070134200eea172ccc5b5800a316a balsa-3.5.tar.gz 2548896 +RMD160 92521a798504f96573309af1cc156a87b43900e4 balsa-3.5.tar.gz 2548896 +SHA256 14dbe33521b007db5833cf6110363f9016cbdc085dcd54afe8657ddbe5a8920c balsa-3.5.tar.gz 2548896 +MD5 e27381066648bb3c7a22fd2f0d3765b2 balsa-sim-verilog-3.5.tar.gz 317550 +RMD160 1c68e85b112e0d2457b855f4ca9a38c3b64b9f00 balsa-sim-verilog-3.5.tar.gz 317550 +SHA256 b3cebcf482ac749e0d982b532b5fe1c5f0ec4316cab7e3eff7a8d3928768c529 balsa-sim-verilog-3.5.tar.gz 317550 +MD5 a906bd475c3d1b98becad2ded8715013 balsa-tech-example-3.5.tar.gz 133932 +RMD160 ba4db1c73acedca937b1f13cd75203e38d447952 balsa-tech-example-3.5.tar.gz 133932 +SHA256 b8d8020ffb91e9224e386adec825a9a3681a24932548257c0ad305f29f626d6c balsa-tech-example-3.5.tar.gz 133932 +MD5 ef1f7be2faf826f1877dfdf0c72ff0c3 balsa-tech-xilinx-3.5.tar.gz 169267 +RMD160 5e7ce5e7fe276686d2b46f301dadfe894eca1448 balsa-tech-xilinx-3.5.tar.gz 169267 +SHA256 75009f7d8c6a3bfd4b9e393d34a6e571f7f80d5d4d2bef6e2f8ea0a3a5bd17bc balsa-tech-xilinx-3.5.tar.gz 169267 |