|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /home/cvsroot/gentoo-x86/app-sci/electric/electric-6.07.ebuild,v 1.5 2004/01/11 13:40:32 lanius Exp $ | # $Header: /home/cvsroot/gentoo-x86/app-sci/electric/electric-6.07.ebuild,v 1.5 2004/01/11 13:40:32 lanius Exp $ |
| |
IUSE="motif" |
inherit base |
|
|
|
IUSE="motif qt" |
| |
DESCRIPTION="Electric is a sophisticated electrical CAD system that can handle many forms of circuit design" | DESCRIPTION="Electric is a sophisticated electrical CAD system that can handle many forms of circuit design" |
HOMEPAGE="http://www.gnu.org/software/electric/electric.html" | HOMEPAGE="http://www.gnu.org/software/electric/electric.html" |
|
|
KEYWORDS="x86" | KEYWORDS="x86" |
| |
DEPEND="virtual/glibc | DEPEND="virtual/glibc |
motif? ( x11-libs/openmotif )" |
-qt? ( x11-libs/openmotif ) \ |
|
qt? ( >= x11-libs/qt-3.1 )" |
| |
RDEPEND="" | RDEPEND="" |
| |
|
src_unpack() { |
|
PATCHES="${FILESDIR}/${PV}-fix-sandbox.patch" |
|
use qt && PATCHES="$PATCHES ${FILESDIR}/${PV}-qt.patch" |
|
base_src_unpack |
|
} |
|
|
src_compile() { | src_compile() { |
econf || die "./configure failed" | econf || die "./configure failed" |
emake || die | emake || die |
} | } |
| |
src_install() { | src_install() { |
einstall |
einstall DESTDIR=${D} install |
| |
dodoc ChangeLog COPYING README | dodoc ChangeLog COPYING README |
} | } |