diff options
Diffstat (limited to 'sci-electronics/xcircuit/xcircuit-3.8.24.ebuild')
-rw-r--r-- | sci-electronics/xcircuit/xcircuit-3.8.24.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/sci-electronics/xcircuit/xcircuit-3.8.24.ebuild b/sci-electronics/xcircuit/xcircuit-3.8.24.ebuild new file mode 100644 index 000000000000..33c6dd36434b --- /dev/null +++ b/sci-electronics/xcircuit/xcircuit-3.8.24.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/xcircuit-3.8.24.ebuild,v 1.1 2012/06/13 13:14:45 xmw Exp $ + +EAPI=2 +WANT_AUTOMAKE="1.11" +inherit autotools eutils multilib + +DESCRIPTION="Circuit drawing and schematic capture program." +SRC_URI="http://opencircuitdesign.com/xcircuit/archive/${P}.tgz" +HOMEPAGE="http://opencircuitdesign.com/xcircuit" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="x11-libs/libX11 + x11-libs/libXt + x11-libs/libXpm + x11-libs/libSM + x11-libs/libICE + sys-libs/zlib + app-text/ghostscript-gpl + dev-lang/tcl + dev-lang/tk" +RDEPEND=${DEPEND} + +RESTRICT="test" #131024 + +src_prepare() { + eautoreconf # avoid QA-warning wrt automaintainer mode +} + +src_configure() { + export loader_run_path="/usr/$(get_libdir)" + econf \ + --disable-dependency-tracking \ + --with-tcl \ + --with-ngspice +} + +src_compile() { + emake appdefaultsdir="/usr/share/X11/app-defaults" || die +} + +src_install () { + emake DESTDIR="${D}" appdefaultsdir="/usr/share/X11/app-defaults" \ + appmandir="/usr/share/man/man1" install || die + dodoc CHANGES README* TODO +} |