summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2004-07-26 17:45:37 +0000
committerChris Bainbridge <chrb@gentoo.org>2004-07-26 17:45:37 +0000
commit7e1e232fb4cb4fa43b9b806249a7cf39afec58a6 (patch)
tree39636d13eaad96550859ca44d44d54d43dab133c /app-sci/tbass
parentAdded 0.6.2 (Manifest recommit) (diff)
downloadgentoo-2-7e1e232fb4cb4fa43b9b806249a7cf39afec58a6.tar.gz
gentoo-2-7e1e232fb4cb4fa43b9b806249a7cf39afec58a6.tar.bz2
gentoo-2-7e1e232fb4cb4fa43b9b806249a7cf39afec58a6.zip
removing unsupported upstream versions and pointing to new package balsa-async
Diffstat (limited to 'app-sci/tbass')
-rw-r--r--app-sci/tbass/ChangeLog7
-rw-r--r--app-sci/tbass/files/digest-tbass-200301086
-rw-r--r--app-sci/tbass/files/digest-tbass-20030725.3.37
-rw-r--r--app-sci/tbass/files/tbass-20030204-tech-verilog-configure.patch33
-rw-r--r--app-sci/tbass/files/tbass-20030204-tech-xilinx-configure.patch83
-rw-r--r--app-sci/tbass/files/tbass-20030725.3.3-balsa-lard-configure.patch37
-rw-r--r--app-sci/tbass/files/tbass-20030725.3.3-tech-example-configure.patch37
-rw-r--r--app-sci/tbass/files/tbass-20030725.3.3-tech-verilog-configure.patch33
-rw-r--r--app-sci/tbass/files/tbass-20030725.3.3-tech-xilinx-configure.patch83
-rw-r--r--app-sci/tbass/tbass-20030108.ebuild76
-rw-r--r--app-sci/tbass/tbass-20030725.3.3.ebuild151
11 files changed, 6 insertions, 547 deletions
diff --git a/app-sci/tbass/ChangeLog b/app-sci/tbass/ChangeLog
index 00acdafa0696..12a8f43ee57f 100644
--- a/app-sci/tbass/ChangeLog
+++ b/app-sci/tbass/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-sci/tbass
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/tbass/ChangeLog,v 1.16 2004/07/01 19:38:48 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/tbass/ChangeLog,v 1.17 2004/07/26 17:45:36 chrb Exp $
+
+ 26 Jul 2004; Chris Bainbridge <chrb@gentoo.org> -tbass-20030108.ebuild,
+ -tbass-20030725.3.3.ebuild:
+ removed unsupported upstream versions, added ebuild pointing to new package
+ balsa-async
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
tbass-20030108.ebuild, tbass-20030725.3.3.ebuild:
diff --git a/app-sci/tbass/files/digest-tbass-20030108 b/app-sci/tbass/files/digest-tbass-20030108
deleted file mode 100644
index 733d28fc05e8..000000000000
--- a/app-sci/tbass/files/digest-tbass-20030108
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 5cb6cbc053a8f993b20dec9bf93417bd balsa-20030108.tar.gz 939532
-MD5 29607ba5259e42363ea1b86838c3743b balsa-manual.pdf 369873
-MD5 af8abda78884e905470e992f57e64534 dma-example.tar.gz 7194
-MD5 6bf0aa7eb37a33728f58221502cc7f6a examples.tar.gz 7017
-MD5 1dd3ad22d8963224e28803f6205ea0b0 balsa-tech-ams-20020402.tar.gz 40354
-MD5 e62008bbe3fc641759adeba9bed09d0d balsa-tech-verilog-20030108.tar.gz 50377
diff --git a/app-sci/tbass/files/digest-tbass-20030725.3.3 b/app-sci/tbass/files/digest-tbass-20030725.3.3
deleted file mode 100644
index db51bbf943a1..000000000000
--- a/app-sci/tbass/files/digest-tbass-20030725.3.3
+++ /dev/null
@@ -1,7 +0,0 @@
-MD5 0f42d86e91c76dec98432239d3de60ae balsa-3.3.tar.gz 1021926
-MD5 7caed3f4401b8438798ce52d572c1d28 balsa-manual-3.3.pdf 4395057
-MD5 f68bf32c69916d30d62ddf1bf6960a6a balsa-tech-example-3.3.tar.gz 61560
-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/files/tbass-20030204-tech-verilog-configure.patch b/app-sci/tbass/files/tbass-20030204-tech-verilog-configure.patch
deleted file mode 100644
index 16c7d6e6189b..000000000000
--- a/app-sci/tbass/files/tbass-20030204-tech-verilog-configure.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-*** balsa-tech-verilog-20030204/configure.old Thu Mar 13 16:51:29 2003
---- balsa-tech-verilog-20030204/configure Thu Mar 13 16:51:32 2003
-***************
-*** 1610,1623 ****
- 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
-
-! ac_default_prefix=`${BALSA_CONFIG} -d`
- prefix=${ac_default_prefix}
- echo installed Balsa prefix is: ${ac_default_prefix}
-
---- 1610,1623 ----
- 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
-
-! ac_default_prefix=/usr
- prefix=${ac_default_prefix}
- echo installed Balsa prefix is: ${ac_default_prefix}
-
diff --git a/app-sci/tbass/files/tbass-20030204-tech-xilinx-configure.patch b/app-sci/tbass/files/tbass-20030204-tech-xilinx-configure.patch
deleted file mode 100644
index d6a4e6e480e7..000000000000
--- a/app-sci/tbass/files/tbass-20030204-tech-xilinx-configure.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-*** balsa-tech-xilinx-20021029/configure.old Thu Mar 13 17:17:48 2003
---- balsa-tech-xilinx-20021029/configure Thu Mar 13 17:26:04 2003
-***************
-*** 275,281 ****
- program_transform_name=s,x,x,
- silent=
- site=
-! srcdir=
- verbose=
- x_includes=NONE
- x_libraries=NONE
---- 275,281 ----
- program_transform_name=s,x,x,
- silent=
- site=
-! srcdir=.
- verbose=
- x_includes=NONE
- x_libraries=NONE
-***************
-*** 673,687 ****
- else
- ac_srcdir_defaulted=no
- fi
-! if test ! -r $srcdir/$ac_unique_file; then
-! if test "$ac_srcdir_defaulted" = yes; then
-! { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
-! { (exit 1); exit 1; }; }
-! else
-! { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
-! { (exit 1); exit 1; }; }
-! fi
-! fi
- srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
- ac_env_build_alias_set=${build_alias+set}
- ac_env_build_alias_value=$build_alias
---- 673,687 ----
- else
- ac_srcdir_defaulted=no
- fi
-! #if test ! -r $srcdir/$ac_unique_file; then
-! # if test "$ac_srcdir_defaulted" = yes; then
-! # { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
-! # { (exit 1); exit 1; }; }
-! # else
-! # { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
-! # { (exit 1); exit 1; }; }
-! # fi
-! #fi
- srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
- ac_env_build_alias_set=${build_alias+set}
- ac_env_build_alias_value=$build_alias
-***************
-*** 1533,1546 ****
- 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
-
-! ac_default_prefix=`${BALSA_CONFIG} -d`
- prefix=${ac_default_prefix}
- echo installed Balsa prefix is: ${ac_default_prefix}
-
---- 1533,1546 ----
- 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
-
-! ac_default_prefix=/usr
- prefix=${ac_default_prefix}
- echo installed Balsa prefix is: ${ac_default_prefix}
-
diff --git a/app-sci/tbass/files/tbass-20030725.3.3-balsa-lard-configure.patch b/app-sci/tbass/files/tbass-20030725.3.3-balsa-lard-configure.patch
deleted file mode 100644
index 0d4bac0da6ca..000000000000
--- a/app-sci/tbass/files/tbass-20030725.3.3-balsa-lard-configure.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-*** balsa-lard-3.3/configure.old Mon Jul 21 21:59:27 2003
---- balsa-lard-3.3/configure Mon Jul 21 22:00:11 2003
-***************
-*** 1652,1667 ****
- 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
---- 1652,1667 ----
- 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=/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/tbass/files/tbass-20030725.3.3-tech-example-configure.patch b/app-sci/tbass/files/tbass-20030725.3.3-tech-example-configure.patch
deleted file mode 100644
index 2de545317954..000000000000
--- a/app-sci/tbass/files/tbass-20030725.3.3-tech-example-configure.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-*** balsa-tech-example-3.3/configure.old Mon Jul 21 21:51:29 2003
---- balsa-tech-example-3.3/configure Mon Jul 21 21:53:44 2003
-***************
-*** 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,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=/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/tbass/files/tbass-20030725.3.3-tech-verilog-configure.patch b/app-sci/tbass/files/tbass-20030725.3.3-tech-verilog-configure.patch
deleted file mode 100644
index 16c7d6e6189b..000000000000
--- a/app-sci/tbass/files/tbass-20030725.3.3-tech-verilog-configure.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-*** balsa-tech-verilog-20030204/configure.old Thu Mar 13 16:51:29 2003
---- balsa-tech-verilog-20030204/configure Thu Mar 13 16:51:32 2003
-***************
-*** 1610,1623 ****
- 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
-
-! ac_default_prefix=`${BALSA_CONFIG} -d`
- prefix=${ac_default_prefix}
- echo installed Balsa prefix is: ${ac_default_prefix}
-
---- 1610,1623 ----
- 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
-
-! ac_default_prefix=/usr
- prefix=${ac_default_prefix}
- echo installed Balsa prefix is: ${ac_default_prefix}
-
diff --git a/app-sci/tbass/files/tbass-20030725.3.3-tech-xilinx-configure.patch b/app-sci/tbass/files/tbass-20030725.3.3-tech-xilinx-configure.patch
deleted file mode 100644
index d6a4e6e480e7..000000000000
--- a/app-sci/tbass/files/tbass-20030725.3.3-tech-xilinx-configure.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-*** balsa-tech-xilinx-20021029/configure.old Thu Mar 13 17:17:48 2003
---- balsa-tech-xilinx-20021029/configure Thu Mar 13 17:26:04 2003
-***************
-*** 275,281 ****
- program_transform_name=s,x,x,
- silent=
- site=
-! srcdir=
- verbose=
- x_includes=NONE
- x_libraries=NONE
---- 275,281 ----
- program_transform_name=s,x,x,
- silent=
- site=
-! srcdir=.
- verbose=
- x_includes=NONE
- x_libraries=NONE
-***************
-*** 673,687 ****
- else
- ac_srcdir_defaulted=no
- fi
-! if test ! -r $srcdir/$ac_unique_file; then
-! if test "$ac_srcdir_defaulted" = yes; then
-! { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
-! { (exit 1); exit 1; }; }
-! else
-! { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
-! { (exit 1); exit 1; }; }
-! fi
-! fi
- srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
- ac_env_build_alias_set=${build_alias+set}
- ac_env_build_alias_value=$build_alias
---- 673,687 ----
- else
- ac_srcdir_defaulted=no
- fi
-! #if test ! -r $srcdir/$ac_unique_file; then
-! # if test "$ac_srcdir_defaulted" = yes; then
-! # { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
-! # { (exit 1); exit 1; }; }
-! # else
-! # { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
-! # { (exit 1); exit 1; }; }
-! # fi
-! #fi
- srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
- ac_env_build_alias_set=${build_alias+set}
- ac_env_build_alias_value=$build_alias
-***************
-*** 1533,1546 ****
- 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
-
-! ac_default_prefix=`${BALSA_CONFIG} -d`
- prefix=${ac_default_prefix}
- echo installed Balsa prefix is: ${ac_default_prefix}
-
---- 1533,1546 ----
- 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
-
-! ac_default_prefix=/usr
- prefix=${ac_default_prefix}
- echo installed Balsa prefix is: ${ac_default_prefix}
-
diff --git a/app-sci/tbass/tbass-20030108.ebuild b/app-sci/tbass/tbass-20030108.ebuild
deleted file mode 100644
index 70107a4721d2..000000000000
--- a/app-sci/tbass/tbass-20030108.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/tbass/tbass-20030108.ebuild,v 1.11 2004/07/01 11:55:06 eradicator Exp $
-
-IUSE=""
-
-Name="balsa"
-
-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.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-ams-20020402.tar.gz
- ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/snapshots/${Name}-tech-verilog-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~ppc ~sparc"
-
-DEPEND="virtual/libc
- sys-devel/binutils
- >=app-sci/lard-2.0.15
- dev-libs/gmp
- dev-lang/perl
- x11-libs/gtk+"
-
-RDEPEND="${DEPEND}
- dev-util/guile
- media-gfx/graphviz"
-
-S=${WORKDIR}/${Name}-${PV}
-
-src_unpack() {
- unpack ${Name}-${PV}.tar.gz dma-example.tar.gz examples.tar.gz ${Name}-tech-ams-20020402.tar.gz ${Name}-tech-verilog-${PV}.tar.gz
-}
-
-src_compile() {
- # compile balsa
- econf || die "econf failed"
-
- cd bin
- sed -e "s: \$(bindir): \$(DESTDIR)\$(bindir):g" Makefile > Makefile.1
- cp Makefile.1 Makefile
- emake || die
-
- # configure tech paths
- cd ${WORKDIR}/balsa-tech-ams-1.0
- econf || die "econf failed"
-
- cd ${WORKDIR}/balsa-tech-verilog-1.0
- econf || die "econf failed"
-}
-
-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.pdf
-
- # install tech
- cd ${WORKDIR}/balsa-tech-ams-1.0
- make DESTDIR=${D} install || die "make install failed"
-
- cd ${WORKDIR}/balsa-tech-verilog-1.0
- make DESTDIR=${D} install || die "make install failed"
-}
diff --git a/app-sci/tbass/tbass-20030725.3.3.ebuild b/app-sci/tbass/tbass-20030725.3.3.ebuild
deleted file mode 100644
index c02f26ccfdc5..000000000000
--- a/app-sci/tbass/tbass-20030725.3.3.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/tbass/tbass-20030725.3.3.ebuild,v 1.9 2004/07/01 11:55:06 eradicator Exp $
-
-inherit eutils
-
-IUSE=""
-
-Name="balsa"
-My_PV="3.3"
-#quite custom anyway, this one has version number at the end
-#to indicate it is a release
-
-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/${My_PV}/${Name}-${My_PV}.tar.gz
- ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${My_PV}/balsa-manual-${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/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-20030204.tar.gz
- ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/snapshots/${Name}-tech-xilinx-20021029.tar.gz"
- #ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/${My_PV}/${Name}-lard-${My_PV}.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/lard-2.0.15"
-
-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
- cd ${WORKDIR}
- epatch ${FILESDIR}/${P}-tech-verilog-configure.patch
- epatch ${FILESDIR}/${P}-tech-xilinx-configure.patch
- epatch ${FILESDIR}/${P}-tech-example-configure.patch
- #patch -p0 < ${FILESDIR}/${P}-balsa-lard-configure.patch || die
- #echo "patching file balsa-lard-${PV}/bin/Makefile.in"
- #sed -i -e "s: \$(bindir): \$(DESTDIR)\$(bindir):g" ${WORKDIR}/balsa-lard-${PV}/bin/Makefile.in
-}
-
-src_compile() {
- # compile balsa
- econf || die "econf failed"
- sed -i -e "s: \$(bindir): \$(DESTDIR)\$(bindir):g" bin/Makefile
- emake BALSAHOME=${S} || die
-
- # configure tech paths
- 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 balsa-lard (deprecated, but may find some use for it)
- #cd ${WORKDIR}/balsa-lard-${PV}
- #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-${My_PV}.pdf
-
- # install 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"
-
- cd ${WORKDIR}/balsa-tech-example-${My_PV}
- make DESTDIR=${D} install || die "make install failed"
-
- cd ${S}
- dodoc AUTHORS COPYING NEWS README TODO
-
- # balsa-lard has been split from balsa .. requires working balsa
- # install for compile. Paths need fixing to compile in sandbox.
- # Even with paths fixed I get errors like:
- # find-filename: cannot open block with dotted path `[balsa.types.synthesis]'
- #
- # Lets just ignore the problem and hope it goes away.
- #
- #cd ${WORKDIR}/balsa-lard-${PV}
- # hack - imports come from hard coded path, we set this
- # for install,
- #echo "patching ${WORKDIR}/balsa-lard-${PV}/share/scheme/base-local.scm"
- #sed -i -e "s:/usr/share/scheme/:${D}/usr/share/scheme/:g" share/scheme/base-local.scm
- #make DESTDIR=${D} install || die "make install failed"
-}
-
-pkg_postinst() {
- if [ ! $TECH_AMS ]; then
- einfo "The AMS035 tech library was *not* installed."
- einfo "It is no longer publically distributed."
- einfo "If you have the appropriate license from AMS request"
- einfo "the ${Name}-tech-ams-20030506.tar.gz file"
- einfo "directly from the Balsa developers and add it to "
- einfo "/usr/portage/distfiles before emerging."
- else
- einfo "The AMS035 tech library was found and installed."
- fi
- einfo ""
- einfo "The Balsa-Lard interface has been deprecated and is no longer installed."
- einfo "If you need it you must manually download and install it."
- einfo ""
-}