diff options
author | Chris Bainbridge <chrb@gentoo.org> | 2004-07-27 00:34:53 +0000 |
---|---|---|
committer | Chris Bainbridge <chrb@gentoo.org> | 2004-07-27 00:34:53 +0000 |
commit | fe1e8eeb9fec02460620fdbf3f889fa94e5c83f5 (patch) | |
tree | e072921b7ff1031ddabb0aa0dc71b700040438b7 /app-sci | |
parent | fix use invocation (Manifest recommit) (diff) | |
download | gentoo-2-fe1e8eeb9fec02460620fdbf3f889fa94e5c83f5.tar.gz gentoo-2-fe1e8eeb9fec02460620fdbf3f889fa94e5c83f5.tar.bz2 gentoo-2-fe1e8eeb9fec02460620fdbf3f889fa94e5c83f5.zip |
new version 3.4, changed package name to balsa
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/balsa/ChangeLog | 67 | ||||
-rw-r--r-- | app-sci/balsa/Manifest | 6 | ||||
-rw-r--r-- | app-sci/balsa/balsa-3.4.ebuild | 149 | ||||
-rw-r--r-- | app-sci/balsa/files/balsa-sim-3.4-configure.patch | 39 | ||||
-rw-r--r-- | app-sci/balsa/files/balsa-tech-3.4-configure.patch | 39 | ||||
-rw-r--r-- | app-sci/balsa/files/digest-balsa-3.4 | 5 | ||||
-rw-r--r-- | app-sci/balsa/metadata.xml | 9 |
7 files changed, 314 insertions, 0 deletions
diff --git a/app-sci/balsa/ChangeLog b/app-sci/balsa/ChangeLog new file mode 100644 index 000000000000..21f914748aa8 --- /dev/null +++ b/app-sci/balsa/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/ChangeLog,v 1.1 2004/07/27 00:34:52 chrb Exp $ + + 26 Jul 2004; Chris Bainbridge <chrb@gentoo.org> : + New version (3.4), renamed package tbass->balsa + + 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/Manifest b/app-sci/balsa/Manifest new file mode 100644 index 000000000000..abc67c4d0f21 --- /dev/null +++ b/app-sci/balsa/Manifest @@ -0,0 +1,6 @@ +MD5 359232a2ef9099e8d2a16f0d18fc0835 ChangeLog 2732 +MD5 5e61dd12ca96c1351f653354877c0b33 balsa-3.4.ebuild 4338 +MD5 908723d5c00d782d13e41a90bc248860 metadata.xml 328 +MD5 d2a8ba154d8b6ef7c25c6ddb65d22e28 files/digest-balsa-3.4 341 +MD5 6e2f2e072a8cacfed8cbad91bae07088 files/balsa-sim-3.4-configure.patch 1507 +MD5 bcd70393f5c601c828613e1d1c630452 files/balsa-tech-3.4-configure.patch 1515 diff --git a/app-sci/balsa/balsa-3.4.ebuild b/app-sci/balsa/balsa-3.4.ebuild new file mode 100644 index 000000000000..bcf89ba7e2ae --- /dev/null +++ b/app-sci/balsa/balsa-3.4.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/balsa/balsa-3.4.ebuild,v 1.1 2004/07/27 00:34:52 chrb Exp $ + +inherit eutils + +IUSE="" +Name="balsa" +My_PV="3.4" + +DESCRIPTION="The Balsa asynchronous synthesis system" +HOMEPAGE="http://www.cs.man.ac.uk/apt/projects/tools/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" + +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 + epatch ${FILESDIR}/balsa-tech-3.4-configure.patch + epatch ${FILESDIR}/balsa-sim-3.4-configure.patch +} + +src_compile() { + # compile balsa + einfo "Compiling balsa" + ./configure --prefix=${D}/usr/ || die "econf failed" + emake || die + + # configure AMS035 tech + if [ $TECH_AMS ]; then + einfo "Compiling AMS035 tech" + 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} + einfo "Compiling tech example" + econf || die "econf failed" + + # config verilog simulator wrappers + cd ${WORKDIR}/balsa-sim-verilog-3.4 + einfo "Compiling verilog simulator wrappers" + ./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} + einfo "Installing balsa" + 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 + einfo "Installing AMS035 tech" + 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} + einfo "Installing example tech" + make DESTDIR=${D} install || die "make install failed" + + # install verilog simulator wrappers + cd ${WORKDIR}/balsa-sim-verilog-3.4 + einfo "Installing verilog simulator wrappers" + DESTDIR=${D} make install || die "make verilog wrappers failed" + + # fix paths + cd ${D} + einfo "Fixing paths" + find . -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 +} + +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/files/balsa-sim-3.4-configure.patch b/app-sci/balsa/files/balsa-sim-3.4-configure.patch new file mode 100644 index 000000000000..dc528bd558ec --- /dev/null +++ b/app-sci/balsa/files/balsa-sim-3.4-configure.patch @@ -0,0 +1,39 @@ +diff -cr balsa-sim-verilog-3.4.orig/configure balsa-sim-verilog-3.4/configure +*** balsa-sim-verilog-3.4.orig/configure Thu May 27 15:27:46 2004 +--- balsa-sim-verilog-3.4/configure Mon Jul 26 23:12:21 2004 +*************** +*** 1800,1815 **** + + + +! if test ${BALSA_CONFIG}; then : +! else +! { { echo "$as_me:$LINENO: error: cannot find required balsa-config, install Balsa and add it to your path" >&5 +! echo "$as_me: error: cannot find required balsa-config, install Balsa and add it to your path" >&2;} +! { (exit 1); exit 1; }; } +! fi + + echo "$as_me:$LINENO: checking installed Balsa directory" >&5 + echo $ECHO_N "checking installed Balsa directory... $ECHO_C" >&6 +! ac_default_prefix=`${BALSA_CONFIG} -d` + prefix=${ac_default_prefix} + echo "$as_me:$LINENO: result: ${ac_default_prefix}" >&5 + echo "${ECHO_T}${ac_default_prefix}" >&6 +--- 1800,1816 ---- + + + +! #if test ${BALSA_CONFIG}; then : +! #else +! # { { echo "$as_me:$LINENO: error: cannot find required balsa-config, install Balsa and add it to your path" >&5 +! #echo "$as_me: error: cannot find required balsa-config, install Balsa and add it to your path" >&2;} +! # { (exit 1); exit 1; }; } +! #fi + + echo "$as_me:$LINENO: checking installed Balsa directory" >&5 + echo $ECHO_N "checking installed Balsa directory... $ECHO_C" >&6 +! #ac_default_prefix=`${BALSA_CONFIG} -d` +! ac_default_prefix=/usr + prefix=${ac_default_prefix} + echo "$as_me:$LINENO: result: ${ac_default_prefix}" >&5 + echo "${ECHO_T}${ac_default_prefix}" >&6 diff --git a/app-sci/balsa/files/balsa-tech-3.4-configure.patch b/app-sci/balsa/files/balsa-tech-3.4-configure.patch new file mode 100644 index 000000000000..40218be3c8a0 --- /dev/null +++ b/app-sci/balsa/files/balsa-tech-3.4-configure.patch @@ -0,0 +1,39 @@ +diff -cr balsa-tech-example-3.4.orig/configure balsa-tech-example-3.4/configure +*** balsa-tech-example-3.4.orig/configure Thu May 27 14:44:05 2004 +--- balsa-tech-example-3.4/configure Mon Jul 26 23:01:55 2004 +*************** +*** 1610,1625 **** + fi + + +! if test ${BALSA_CONFIG}; then : +! else +! { { echo "$as_me:$LINENO: error: cannot find required balsa-config, install Balsa and add it to your path" >&5 +! echo "$as_me: error: cannot find required balsa-config, install Balsa and add it to your path" >&2;} +! { (exit 1); exit 1; }; } +! fi + + echo "$as_me:$LINENO: checking installed Balsa directory" >&5 + echo $ECHO_N "checking installed Balsa directory... $ECHO_C" >&6 +! ac_default_prefix=`${BALSA_CONFIG} -d` + prefix=${ac_default_prefix} + echo "$as_me:$LINENO: result: ${ac_default_prefix}" >&5 + echo "${ECHO_T}${ac_default_prefix}" >&6 +--- 1610,1626 ---- + fi + + +! #if test ${BALSA_CONFIG}; then : +! #else +! # { { echo "$as_me:$LINENO: error: cannot find required balsa-config, install Balsa and add it to your path" >&5 +! #echo "$as_me: error: cannot find required balsa-config, install Balsa and add it to your path" >&2;} +! # { (exit 1); exit 1; }; } +! #fi + + echo "$as_me:$LINENO: checking installed Balsa directory" >&5 + echo $ECHO_N "checking installed Balsa directory... $ECHO_C" >&6 +! #ac_default_prefix=`${BALSA_CONFIG} -d` +! ac_default_prefix=/usr + prefix=${ac_default_prefix} + echo "$as_me:$LINENO: result: ${ac_default_prefix}" >&5 + echo "${ECHO_T}${ac_default_prefix}" >&6 diff --git a/app-sci/balsa/files/digest-balsa-3.4 b/app-sci/balsa/files/digest-balsa-3.4 new file mode 100644 index 000000000000..ee148ef49989 --- /dev/null +++ b/app-sci/balsa/files/digest-balsa-3.4 @@ -0,0 +1,5 @@ +MD5 d66628531c0133107847c495787cc618 balsa-3.4.tar.gz 1388342 +MD5 a96448c29e48e0ec850c094ea07fa5d7 BalsaManual3.4.pdf 8615958 +MD5 03dd0cee9a87556e2866bd0035b04235 balsa-tech-example-3.4.tar.gz 62925 +MD5 41ce42eae26cc77e38fd9ce51374e3da balsa-sim-verilog-3.4.tar.gz 199212 +MD5 da642d17eee00d8e8cba7fe796ce0e9d BalsaExamples3.4.tar.gz 2420060 diff --git a/app-sci/balsa/metadata.xml b/app-sci/balsa/metadata.xml new file mode 100644 index 000000000000..4ecd4f5a837f --- /dev/null +++ b/app-sci/balsa/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> |