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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Mon Apr 19 12:33:51 2004 UTC (15 years, 9 months ago) by phosphan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Cleanup, moving patch -> epatch

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/app-sci/tbass/tbass-20020729.ebuild,v 1.8 2004/02/24 08:52:08 mr_bones_ 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/glibc
23 sys-devel/binutils
24 app-sci/lard
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
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
51
52 cd ${WORKDIR}/balsa-tech-verilog-1.0
53 econf
54 }
55
56 src_install() {
57 # install balsa
58 make DESTDIR=${D} install || 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