blob: 2fc5c0aa820f0d5b9027fb08f7d24e99ea42defb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/freehdl/freehdl-20050510.ebuild,v 1.1 2005/08/29 12:05:36 phosphan Exp $
inherit eutils toolchain-funcs
DESCRIPTION="A free VHDL simulator."
SRC_URI="http://cran.mit.edu/~enaroska/${P}.tar.gz"
HOMEPAGE="http://freehdl.seul.org/"
LICENSE="GPL-2"
DEPEND="sys-devel/flex
>=sys-devel/gcc-3.4.3.20050110-r2"
RDEPEND=">=dev-util/guile-1.2"
SLOT="0"
IUSE=""
KEYWORDS="-x86 -ppc -*"
src_unpack() {
if [ $(gcc-major-version) -le 3 -a $(gcc-minor-version) -le 4 ] \
&& [ $(gcc-micro-version) -lt 3 -o $(gcc-minor-version) -lt 4 ]; then
die "You need at least gcc 3.4.3.20050110-r2 to compile freehdl." \
"You are using $(gcc-fullversion)"
fi
unpack ${A}
cd ${S}
touch vaul/lexer.ll # rebuild the lexer, see bug #103157
}
src_install () {
emake DESTDIR=${D} install || die "installation failed"
dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README
}
|