/[gentoo-x86]/app-sci/lard/lard-2.0.15-r1.ebuild
Gentoo

Contents of /app-sci/lard/lard-2.0.15-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Dec 27 19:55:15 2004 UTC (9 years, 6 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Moving to sci-electronics/lard

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/lard/lard-2.0.15-r1.ebuild,v 1.3 2004/06/24 22:08:00 agriffis Exp $
4
5 inherit eutils
6
7 IUSE=""
8
9 DESCRIPTION="Language for Asynchronous Research and Development. Used to describe and simulate asynchronous circuits"
10 HOMEPAGE="http://www.cs.man.ac.uk/apt/projects/tools/lard/index.html"
11 SRC_URI="ftp://ftp.cs.man.ac.uk/pub/amulet/lard/${P}.tar.gz
12 ftp://ftp.cs.man.ac.uk/pub/amulet/lard/lard-demos-2.0.12.tar.gz
13 ftp://ftp.cs.man.ac.uk/pub/amulet/lard/lard-doc-2.0.14.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~x86 ~ppc ~sparc"
18
19 DEPEND="sys-devel/flex
20 dev-lang/tcl
21 dev-lang/tk
22 sys-devel/bison
23 sys-devel/binutils
24 dev-tcltk/tclx
25 dev-libs/gmp
26 dev-lang/perl
27 dev-tcltk/bwidget"
28
29 src_unpack() {
30 unpack ${A} ; cd ${S}
31 epatch ${FILESDIR}/${P}-configure.patch
32 epatch ${FILESDIR}/${PV}-gcc-multi-string-literal.patch
33 chmod +x interpreter/con.py
34 }
35
36 src_compile() {
37 econf --libdir=/usr/lib/lard || die "econf failed"
38 emake || die "emake failed"
39 }
40
41 src_install() {
42 make DESTDIR=${D} install || die "install failed"
43
44 dodoc AUTHORS COPYING NEWS README
45
46 dodir /usr/share/doc/${PF}/demos
47 cp -R ${WORKDIR}/lard-demos-2.0.12/* ${D}/usr/share/doc/${PF}/demos
48 cd ${WORKDIR}/lard-doc
49 find . -name "*.doc *.cgi" -exec rm {} \;
50 dodir /usr/share/doc/${PF}/html
51 cp -R * ${D}/usr/share/doc/${PF}/html
52 cd ${WORKDIR}
53 dosed "s:\$exec_prefix:#\$exec_prefix:g" /usr/bin/lcd
54 }

  ViewVC Help
Powered by ViewVC 1.1.20