# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/iverilog/iverilog-0.8.2.ebuild,v 1.5 2006/07/23 22:08:21 tsunam Exp $ inherit multilib eutils S="${WORKDIR}/verilog-${PV}" DESCRIPTION="A Verilog simulation and synthesis tool" SRC_URI="ftp://icarus.com/pub/eda/verilog/v${PV:0:3}/verilog-${PV}.tar.gz" HOMEPAGE="http://www.icarus.com/eda/verilog/" DEPEND="dev-util/gperf" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-gcc-4.10.patch" || die 'epatch failed!' } src_compile() { econf || die "./configure failed" emake -j1 || die "emake failed" } src_install() { make \ prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ libdir=${D}/usr/$(get_libdir) \ libdir64=${D}/usr/$(get_libdir) \ vpidir=${D}/usr/$(get_libdir)/ivl \ install || die "make install failed" dodoc *.txt COPYING INSTALL examples/* }