/[gentoo-x86]/app-sci/tbass/tbass-20030108.ebuild
Gentoo

Contents of /app-sci/tbass/tbass-20030108.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Mon Jul 26 17:45:36 2004 UTC (15 years, 6 months ago) by chrb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
removing unsupported upstream versions and pointing to new package balsa-async

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-sci/tbass/tbass-20030108.ebuild,v 1.11 2004/07/01 11:55:06 eradicator Exp $
4
5 IUSE=""
6
7 Name="balsa"
8
9 DESCRIPTION="Balsa is both a framework for synthesising asynchronous hardware systems and the language for describing such systems"
10 HOMEPAGE="http://www.cs.man.ac.uk/amulet/projects/balsa/"
11 SRC_URI="ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/snapshots/${Name}-${PV}.tar.gz
12 ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/docs/balsa-manual.pdf
13 ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/examples/dma-example.tar.gz
14 ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/examples/examples.tar.gz
15 ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/snapshots/${Name}-tech-ams-20020402.tar.gz
16 ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/snapshots/${Name}-tech-verilog-${PV}.tar.gz"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="x86 ~ppc ~sparc"
21
22 DEPEND="virtual/libc
23 sys-devel/binutils
24 >=app-sci/lard-2.0.15
25 dev-libs/gmp
26 dev-lang/perl
27 x11-libs/gtk+"
28
29 RDEPEND="${DEPEND}
30 dev-util/guile
31 media-gfx/graphviz"
32
33 S=${WORKDIR}/${Name}-${PV}
34
35 src_unpack() {
36 unpack ${Name}-${PV}.tar.gz dma-example.tar.gz examples.tar.gz ${Name}-tech-ams-20020402.tar.gz ${Name}-tech-verilog-${PV}.tar.gz
37 }
38
39 src_compile() {
40 # compile balsa
41 econf || die "econf failed"
42
43 cd bin
44 sed -e "s: \$(bindir): \$(DESTDIR)\$(bindir):g" Makefile > Makefile.1
45 cp Makefile.1 Makefile
46 emake || die
47
48 # configure tech paths
49 cd ${WORKDIR}/balsa-tech-ams-1.0
50 econf || die "econf failed"
51
52 cd ${WORKDIR}/balsa-tech-verilog-1.0
53 econf || die "econf failed"
54 }
55
56 src_install() {
57 # install balsa
58 einstall || die "make install failed"
59
60 # move the docs to the right directory
61 dodoc ${D}/usr/doc/*
62 rm -rf ${D}/usr/doc
63
64 # install manual and examples
65 dodir /usr/share/doc/${P}/examples/dma-example
66 cp -R ${WORKDIR}/dma-example ${D}/usr/share/doc/${P}/examples
67 cp -R ${WORKDIR}/examples/* ${D}/usr/share/doc/${P}/examples
68 dodoc ${DISTDIR}/balsa-manual.pdf
69
70 # install tech
71 cd ${WORKDIR}/balsa-tech-ams-1.0
72 make DESTDIR=${D} install || die "make install failed"
73
74 cd ${WORKDIR}/balsa-tech-verilog-1.0
75 make DESTDIR=${D} install || die "make install failed"
76 }

  ViewVC Help
Powered by ViewVC 1.1.20