summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/freehdl/freehdl-20050510.ebuild')
-rw-r--r--sci-electronics/freehdl/freehdl-20050510.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/sci-electronics/freehdl/freehdl-20050510.ebuild b/sci-electronics/freehdl/freehdl-20050510.ebuild
new file mode 100644
index 000000000000..2fc5c0aa820f
--- /dev/null
+++ b/sci-electronics/freehdl/freehdl-20050510.ebuild
@@ -0,0 +1,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
+}