diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-04-01 13:08:01 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-04-01 13:08:01 +0000 |
commit | e82839d728016745d02645f3aa9041c3e10b3590 (patch) | |
tree | 1d44c21cd66cdc259ef56528fd44f423e5e79396 /sci-electronics/xcircuit/xcircuit-3.6.86.ebuild | |
parent | fix Makefile (bug 171035) (diff) | |
download | historical-e82839d728016745d02645f3aa9041c3e10b3590.tar.gz historical-e82839d728016745d02645f3aa9041c3e10b3590.tar.bz2 historical-e82839d728016745d02645f3aa9041c3e10b3590.zip |
Development branch version bump.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'sci-electronics/xcircuit/xcircuit-3.6.86.ebuild')
-rw-r--r-- | sci-electronics/xcircuit/xcircuit-3.6.86.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sci-electronics/xcircuit/xcircuit-3.6.86.ebuild b/sci-electronics/xcircuit/xcircuit-3.6.86.ebuild new file mode 100644 index 000000000000..79e7ca1ff5db --- /dev/null +++ b/sci-electronics/xcircuit/xcircuit-3.6.86.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/xcircuit-3.6.86.ebuild,v 1.1 2007/04/01 13:08:01 calchan Exp $ + +DESCRIPTION="Circuit drawing and schematic capture program." +SRC_URI="http://opencircuitdesign.com/xcircuit/archive/${P}.tgz" +HOMEPAGE="http://opencircuitdesign.com/xcircuit" + +# This is a development version. Do not keyword without contacting maintainer as we add/remove these at random. +KEYWORDS="" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +# Disable tests, see bug #131024 +RESTRICT="test" + +DEPEND="virtual/ghostscript + dev-lang/tk + || ( x11-libs/libXt + virtual/x11 + )" + +src_compile() { + econf \ + --with-tcl \ + --with-ngspice \ + --disable-dependency-tracking \ + || die 'econf failed!' + emake || die 'emake failed!' +} + +src_install () { + make DESTDIR=${D} install || die "Installation failed" + dodoc CHANGES README* TODO + + doman ${D}/usr/lib/xcircuit-3.6/man/xcircuit.1 + rm ${D}/usr/lib/xcircuit-3.6/man -rf +} + +src_postinst() { + ewarn "You may want to emerge ng-spice-rework which integrates well with xcircuit." + ewarn "Note that in order for ngspice to work with xcircuit, you'll need at least" + ewarn "sci-electronics/ng-spice-rework-17-r1." +} |