summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-27 18:57:44 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-27 18:57:44 +0000
commit2c855829a049cfaa39d95548be37f2c58eaf225a (patch)
tree0c1d056f417a0d7c9c5e44106ca8cd3a2aba0510 /sci-electronics/electric/electric-7.00.ebuild
parentMoving to sci-electronics/electric (diff)
downloadhistorical-2c855829a049cfaa39d95548be37f2c58eaf225a.tar.gz
historical-2c855829a049cfaa39d95548be37f2c58eaf225a.tar.bz2
historical-2c855829a049cfaa39d95548be37f2c58eaf225a.zip
Moved from app-sci/electric to sci-electronics/electric.
Diffstat (limited to 'sci-electronics/electric/electric-7.00.ebuild')
-rw-r--r--sci-electronics/electric/electric-7.00.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-electronics/electric/electric-7.00.ebuild b/sci-electronics/electric/electric-7.00.ebuild
new file mode 100644
index 000000000000..d968547ac068
--- /dev/null
+++ b/sci-electronics/electric/electric-7.00.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/electric/electric-7.00.ebuild,v 1.1 2004/12/27 18:57:44 ribosome Exp $
+
+inherit eutils
+
+IUSE="qt"
+
+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"
+SRC_URI="http://ftp.gnu.org/pub/gnu/electric/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="virtual/libc
+ !qt? ( x11-libs/openmotif )
+ qt? ( >=x11-libs/qt-3.1 )"
+
+src_unpack() {
+ unpack ${A}; cd ${S}
+ epatch ${FILESDIR}/${PV}-fix-sandbox.patch
+ use qt && epatch ${FILESDIR}/${PV}-qt.patch
+}
+
+src_compile() {
+ econf || die "./configure failed"
+ sed -e 's:/usr/local/:/usr/:g' -i src/include/config.h
+ emake OPTIMIZE="${CXXFLAGS}" || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc ChangeLog COPYING README
+}