# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit eutils DATE="20050217" DESCRIPTION="Complete set of free CAD tools and portable libraries for VLSI design." HOMEPAGE="http://www-asim.lip6.fr/recherche/alliance/" SRC_URI="http://www-asim.lip6.fr/pub/alliance/distribution/5.0/${P}-${DATE}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="x11-base/xorg-x11" RDEPEND="${DEPEND}" src_compile() { econf --prefix= \ --bindir=/usr/bin \ --includedir=/usr/include/${PN} \ --libdir=/usr/lib/${PN} \ --mandir=/usr/share/man || die "./configure failed" emake -j1 || die "emake failed" } src_install() { make install DESTDIR=${D} dodir /etc/${PN} mv ${D}/etc/* ${D}/etc/${PN} dodir /usr/share/${PN} mv ${D}/cells ${D}/usr/share/${PN} dodir /usr/share/doc/${P} mv ${D}/doc ${D}/usr/share/doc/${P} mv ${D}/examples ${D}/usr/share/doc/${P} mv ${D}/tutorials ${D}/usr/share/doc/${P} }