summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2004-07-26 17:16:56 +0000
committerChris Bainbridge <chrb@gentoo.org>2004-07-26 17:16:56 +0000
commitb878bc8495d587252d88591f199f5a9a6befd54e (patch)
tree721a1853e991d228727c6b0912223e414117a678
parentadd sun-jdk comment (diff)
downloadgentoo-2-b878bc8495d587252d88591f199f5a9a6befd54e.tar.gz
gentoo-2-b878bc8495d587252d88591f199f5a9a6befd54e.tar.bz2
gentoo-2-b878bc8495d587252d88591f199f5a9a6befd54e.zip
New version (3.4), renamed package tbass->balsa-async
-rw-r--r--app-sci/balsa-async/ChangeLog67
-rw-r--r--app-sci/balsa-async/balsa-async-3.4.ebuild137
-rw-r--r--app-sci/balsa-async/metadata.xml9
3 files changed, 213 insertions, 0 deletions
diff --git a/app-sci/balsa-async/ChangeLog b/app-sci/balsa-async/ChangeLog
new file mode 100644
index 000000000000..45dcb465723c
--- /dev/null
+++ b/app-sci/balsa-async/ChangeLog
@@ -0,0 +1,67 @@
+# ChangeLog for app-sci/balsa-async
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/balsa-async/ChangeLog,v 1.1 2004/07/26 17:16:56 chrb Exp $
+
+ 26 Jul 2004; Chris Bainbridge <chrb@gentoo.org> :
+ New version (3.4), renamed package tbass->balsa-async
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ tbass-20030108.ebuild, tbass-20030725.3.3.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> tbass-20030108.ebuild:
+ Add die following econf for bug 48950
+
+ 25 Apr 2004; Aron Griffis <agriffis@gentoo.org> tbass-20030108.ebuild,
+ tbass-20030725.3.3.ebuild:
+ Add die following econf for bug 48950
+
+ 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> tbass-20020729.ebuild,
+ tbass-20030204.ebuild, tbass-20030318.ebuild, tbass-20030725.3.3.ebuild:
+ Cleanup, moving patch -> epatch
+
+*tbass-20030725.3.3 (30 Jul 2003)
+
+ 30 Jul 2003; George Shapovalov <george@gentoo.org> tbass-20030725.ebuild, files/tbass-20030725.3.3-{balsa-lard-configure.patch,tech-example-configure.patch,tech-verilog-configure.patch,tech-xilinx-configure.patch} :
+ new version (#25008),
+ some updates + fixes #24494, lard has been split off this package
+ Thanks to Chris Bainbridge <chrb@dcs.ed.ac.uk> for submission and updates
+
+*tbass-20030318 (12 May 2003)
+
+ 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)
+
+ 23 Apr 2003; George Shapovalov <george@gentoo.org> tbass-20030204.ebuild, files/tbass-20030204-tech-{xilinx-configure.patch,verilog-configure.patch} :
+ new version (#17514)
+ The AMS035 tech library is no longer distributed publically. ebuild modified accordingly and contains
+ appropriate warning in pkg_postinst.
+ Thanks to Chris Bainbridge <chrb@dcs.ed.ac.uk> for submission.
+
+
+*tbass-20030108 (06 Feb 2003)
+
+ 06 Feb 2003; George Shapovalov <george@gentoo.org> tbass-20030108.ebuild :
+ new version (#13670)
+ thanks to Dave Nellans <dnellans@cs.utah.edu> for submission
+
+ 07 Jan 2003; George Shapovalov <george@gentoo.org> tbass-20020729.ebuild :
+ added IUSE
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*tbass-20020729 (29 Oct 2002)
+
+ 29 Oct 2002; George Shapovalov <george@gentoo.org> tbass-20020729.ebuild :
+
+ initial release.
+
+ The Balsa Asynchronous Synthesis System
+ Balsa is both a framework for synthesising asynchronous (clockless) hardware systems and the
+ language for describing such systems.
+
+ ebuild submitted by Chris Bainbridge <chrb@dcs.ed.ac.uk>,
+ updated by Dave Nellans <dnellans@cs.utah.edu>
diff --git a/app-sci/balsa-async/balsa-async-3.4.ebuild b/app-sci/balsa-async/balsa-async-3.4.ebuild
new file mode 100644
index 000000000000..1135f8f07149
--- /dev/null
+++ b/app-sci/balsa-async/balsa-async-3.4.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/balsa-async/balsa-async-3.4.ebuild,v 1.1 2004/07/26 17:16:56 chrb Exp $
+
+inherit eutils
+
+IUSE=""
+Name="balsa"
+My_PV="3.4"
+
+DESCRIPTION="The Balsa asynchronous synthesis system"
+HOMEPAGE="http://www.cs.man.ac.uk/amulet/projects/balsa/"
+SRC_URI="ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${My_PV}/${Name}-${My_PV}.tar.gz
+ ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${My_PV}/BalsaManual${My_PV}.pdf
+ ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${My_PV}/${Name}-tech-example-${My_PV}.tar.gz
+ ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${My_PV}/${Name}-sim-verilog-${My_PV}.tar.gz
+ ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${My_PV}/BalsaExamples${My_PV}.tar.gz"
+# ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/snapshots/${Name}-tech-verilog-20030204.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 ~sparc"
+
+DEPEND="virtual/libc
+ sys-devel/binutils
+ dev-libs/gmp
+ dev-lang/perl
+ x11-libs/gtk+
+ app-sci/iverilog
+ app-sci/gplcver"
+
+RDEPEND="${DEPEND}
+ dev-util/guile
+ media-gfx/graphviz
+ app-sci/gtkwave
+ app-sci/espresso-ab"
+
+S=${WORKDIR}/${Name}-${My_PV}
+
+if [ -f ${DISTDIR}/balsa-tech-ams-20030506.tar.gz ]; then
+ TECH_AMS=1
+fi
+
+src_unpack() {
+ unpack ${A}
+ if [ $TECH_AMS ]; then
+ unpack balsa-tech-ams-20030506.tar.gz;
+ fi
+ sed -i -e "s/types.breeze: types.balsa/types.breeze: types.balsa basic.breeze/" ${S}/share/balsa/types/Makefile.in
+ cd ${WORKDIR}
+ sed -i -e "s:\(DEFAULT_INCLUDES = \)\(.*\):\1-I${S}/src/libs/ \2/:" ${WORKDIR}/balsa-sim-verilog-${PV}/libs/Makefile.in
+}
+
+src_compile() {
+ # compile balsa
+ ./configure --prefix=${D}/usr/ || die "econf failed"
+ emake || die
+
+ # configure AMS035 tech
+ if [ $TECH_AMS ]; then
+ cd ${WORKDIR}/balsa-tech-ams-20030506
+ econf || die "econf failed"
+ fi
+
+ # config generic verilog backend
+# cd ${WORKDIR}/balsa-tech-verilog-20030204
+# econf || die "econf failed"
+
+ # config Xilinx FPGA backend
+# cd ${WORKDIR}/balsa-tech-xilinx-20021029
+# econf || die "econf failed"
+
+ # config example tech
+ cd ${WORKDIR}/balsa-tech-example-${My_PV}
+ econf || die "econf failed"
+
+ # config verilog simulator wrappers
+ cd ${WORKDIR}/balsa-sim-verilog-3.4
+ ./configure --includedir=`pwd`/../balsa-3.4/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}
+ make install || die
+
+ # install manual and examples
+ dodir /usr/share/doc/${P}/
+ cp -ar ${WORKDIR}/Examples ${D}/usr/share/doc/${P}/
+ dodoc ${DISTDIR}/BalsaManual${My_PV}.pdf
+
+ # install AMS035 tech
+ if [ $TECH_AMS ]; then
+ cd ${WORKDIR}/balsa-tech-ams-20030506
+ make DESTDIR=${D} install || die "make install failed"
+ fi
+
+# cd ${WORKDIR}/balsa-tech-verilog-20030204
+# make DESTDIR=${D} install || die "make install failed"
+
+# cd ${WORKDIR}/balsa-tech-xilinx-20021029
+# make DESTDIR=${D} install || die "make install failed"
+
+ # install example tech
+ cd ${WORKDIR}/balsa-tech-example-${My_PV}
+ make DESTDIR=${D} install || die "make install failed"
+
+ # install verilog simulator wrappers
+ cd ${WORKDIR}/balsa-sim-verilog-3.4
+ DESTDIR=${D} make install || die "make verilog wrappers failed"
+
+ # fix paths
+ cd ${D}
+ find . -exec sed -i -e "s:${D}::" {} \;
+ find . -name "sed*" -exec rm -f {} \;
+
+ # add some docs
+ cd ${S}
+ dodoc AUTHORS COPYING NEWS README TODO
+ mv ${D}/usr/doc/* ${D}/usr/share/doc/${P}/
+ rmdir ${D}/usr/doc
+}
+
+pkg_postinst() {
+ if [ ! $TECH_AMS ]; then
+ einfo "No tech libraries were installed."
+ einfo "If you have the appropriate licenses request"
+ einfo "the tech support files directly from balsa@cs.man.ac.uk"
+ einfo "and add them to /usr/portage/distfiles before emerging."
+ else
+ einfo "The AMS035 tech library was found and installed."
+ fi
+}
diff --git a/app-sci/balsa-async/metadata.xml b/app-sci/balsa-async/metadata.xml
new file mode 100644
index 000000000000..b2da197c3c73
--- /dev/null
+++ b/app-sci/balsa-async/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>chrb@gentoo.org</email>
+ <name>Chris Bainbridge</name>
+ </maintainer>
+ <longdescription>The Balsa asynchronous synthesis system</longdescription>
+</pkgmetadata>