summaryrefslogtreecommitdiff
blob: f516350732661514ac7ba4bae3f1787728efea90 (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
33
34
35
36
37
38
39
40
# Copyright 1999-2005 Gentoo Foundation and Tim Yamin <plasmaroo@gentoo.org> <plasmaroo@squirrelsoft.org.uk>
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/vbs/vbs-1.4.0.ebuild,v 1.2 2005/05/17 18:18:50 hansmi Exp $

inherit eutils

HOMEPAGE="http://www.geda.seul.org/tools/vbs/index.html"
DESCRIPTION="vbs - the Verilog Behavioral Simulator"
SRC_URI="http://www.geda.seul.org/dist/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
IUSE=""
KEYWORDS="ppc ~x86"

DEPEND=">=sys-devel/flex-2.3
	>=sys-devel/bison-1.22"

src_unpack () {
	unpack ${A}

	cd ${S}
	epatch ${FILESDIR}/${PN}-gcc-3.4.patch
}

src_compile () {
	cd src
	econf || die
	emake vbs || die
}

src_install () {
	dodoc BUGS CONTRIBUTORS COPYRIGHT FAQ README vbs.txt

	docinto examples
	dodoc EXAMPLES/*

	exeinto /usr/bin
	doexe src/vbs
}