diff options
author | George Shapovalov <george@gentoo.org> | 2003-05-12 04:11:22 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2003-05-12 04:11:22 +0000 |
commit | 4509af834a7f8d39d176e45af9ebb9419952cfd7 (patch) | |
tree | 1c5d3df0bdc4e091b06214fb4243063e84a6a761 /app-sci | |
parent | Added ~sparc to keywords. (diff) | |
download | historical-4509af834a7f8d39d176e45af9ebb9419952cfd7.tar.gz historical-4509af834a7f8d39d176e45af9ebb9419952cfd7.tar.bz2 historical-4509af834a7f8d39d176e45af9ebb9419952cfd7.zip |
new version, a bug-fix update
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/tbass/ChangeLog | 6 | ||||
-rw-r--r-- | app-sci/tbass/files/digest-tbass-20030318 | 6 | ||||
-rw-r--r-- | app-sci/tbass/tbass-20030318.ebuild | 108 |
3 files changed, 119 insertions, 1 deletions
diff --git a/app-sci/tbass/ChangeLog b/app-sci/tbass/ChangeLog index 7cc6d22b47d2..9ca0b6aa3416 100644 --- a/app-sci/tbass/ChangeLog +++ b/app-sci/tbass/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-sci/tbass # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/tbass/ChangeLog,v 1.7 2003/04/24 07:45:35 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/tbass/ChangeLog,v 1.8 2003/05/12 04:11:22 george Exp $ + + 11 May 2003; George Shapovalov <george@gentoo.org> tbass-20030318.ebuild : + a bug-fix update (#17514) + Thanks to Chris Bainbridge <chrb@dcs.ed.ac.uk> for submission. *tbass-20030204 (23 Apr 2003) diff --git a/app-sci/tbass/files/digest-tbass-20030318 b/app-sci/tbass/files/digest-tbass-20030318 new file mode 100644 index 000000000000..25194b33dd8f --- /dev/null +++ b/app-sci/tbass/files/digest-tbass-20030318 @@ -0,0 +1,6 @@ +MD5 fb9a241904147a04cffd626bb26e394b balsa-20030318.tar.gz 962841 +MD5 492a3dce0082f4a95876400a829d375b balsa-manual-20030120.pdf 355962 +MD5 af8abda78884e905470e992f57e64534 dma-example.tar.gz 7194 +MD5 6bf0aa7eb37a33728f58221502cc7f6a examples.tar.gz 7017 +MD5 02c765d09fd8c1fe0b3a2f8e0ac5b3ec balsa-tech-verilog-20030204.tar.gz 50373 +MD5 71d301394337e13a0bef01fa6ee3984b balsa-tech-xilinx-20021029.tar.gz 141410 diff --git a/app-sci/tbass/tbass-20030318.ebuild b/app-sci/tbass/tbass-20030318.ebuild new file mode 100644 index 000000000000..e9c45a84686e --- /dev/null +++ b/app-sci/tbass/tbass-20030318.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/tbass/tbass-20030318.ebuild,v 1.1 2003/05/12 04:11:22 george Exp $ + +IUSE="" + +Name="balsa" +VerilogV="20030204" + +DESCRIPTION="Balsa is both a framework for synthesising asynchronous hardware systems and the language for describing such systems" +HOMEPAGE="http://www.cs.man.ac.uk/amulet/projects/balsa/" +SRC_URI="ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/snapshots/${Name}-${PV}.tar.gz + ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/docs/balsa-manual-20030120.pdf + ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/examples/dma-example.tar.gz + ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/examples/examples.tar.gz + ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/snapshots/${Name}-tech-verilog-${VerilogV}.tar.gz + ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/snapshots/${Name}-tech-xilinx-20021029.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc " + +DEPEND="sys-devel/binutils + >=app-sci/lard-${VerilogV} + dev-libs/gmp + dev-lang/perl + x11-libs/gtk+" + +RDEPEND="${DEPEND} + dev-util/guile + media-gfx/graphviz + app-sci/gtkwave + app-sci/espresso-ab" + +S=${WORKDIR}/${Name}-${PV} + +if [ -f ${DISTDIR}/balsa-tech-ams-20030314.tar.gz ]; then +TECH_AMS=1 +fi + +src_unpack() { + unpack ${Name}-${PV}.tar.gz dma-example.tar.gz examples.tar.gz ${Name}-tech-verilog-${VerilogV}.tar.gz ${Name}-tech-xilinx-20021029.tar.gz + if [ $TECH_AMS ]; then unpack balsa-tech-ams-20030314.tar.gz; fi + cd ${WORKDIR}/balsa-tech-verilog-${VerilogV} + patch -p1 < ${FILESDIR}/${PN}-${VerilogV}-tech-verilog-configure.patch || die + cd ${WORKDIR}/balsa-tech-xilinx-20021029 + patch -p1 < ${FILESDIR}/${PN}-${VerilogV}-tech-xilinx-configure.patch || die +} + +src_compile() { + # compile balsa + econf + + cd bin + sed -e "s: \$(bindir): \$(DESTDIR)\$(bindir):g" Makefile > Makefile.1 + cp Makefile.1 Makefile + emake || die + + # configure tech paths + if [ $TECH_AMS ]; then + cd ${WORKDIR}/balsa-tech-ams-20030314 + econf + fi + + cd ${WORKDIR}/balsa-tech-verilog-${VerilogV} + econf + + cd ${WORKDIR}/balsa-tech-xilinx-20021029 + econf +} + +src_install() { + # install balsa + einstall || die "make install failed" + + # move the docs to the right directory + dodoc ${D}/usr/doc/* + rm -rf ${D}/usr/doc + + # install manual and examples + dodir /usr/share/doc/${P}/examples/dma-example + cp -R ${WORKDIR}/dma-example ${D}/usr/share/doc/${P}/examples + cp -R ${WORKDIR}/examples/* ${D}/usr/share/doc/${P}/examples + dodoc ${DISTDIR}/balsa-manual-20030120.pdf + + # install tech + if [ $TECH_AMS ]; then + cd ${WORKDIR}/balsa-tech-ams-20030314 + make DESTDIR=${D} install || die "make install failed" + fi + + cd ${WORKDIR}/balsa-tech-verilog-${VerilogV} + make DESTDIR=${D} install || die "make install failed" + + cd ${WORKDIR}/balsa-tech-xilinx-20021029 + make DESTDIR=${D} install || die "make install failed" +} + +pkg_postinst() { + if [ ! $TECH_AMS ]; then + einfo "The AMS035 tech library is no longer distributed publically." + einfo "To obtain it you must have the appropriate license from AMS." + einfo "If you do request the ${Name}-tech-ams-20030314.tar.gz file" + einfo "directly from the Balsa developers and add it to " + einfo "/usr/portage/distfiles before emerging." + echo + fi +} |