From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-electronics/xcircuit/xcircuit-3.9.62.ebuild | 67 +++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 sci-electronics/xcircuit/xcircuit-3.9.62.ebuild (limited to 'sci-electronics/xcircuit/xcircuit-3.9.62.ebuild') diff --git a/sci-electronics/xcircuit/xcircuit-3.9.62.ebuild b/sci-electronics/xcircuit/xcircuit-3.9.62.ebuild new file mode 100644 index 000000000000..c43e347fcd25 --- /dev/null +++ b/sci-electronics/xcircuit/xcircuit-3.9.62.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils 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=" + app-text/ghostscript-gpl + dev-lang/tk:0 + media-libs/fontconfig:1.0 + sys-libs/zlib + x11-libs/cairo + x11-libs/libX11 + x11-libs/libXt + x11-libs/libXpm + x11-libs/libSM + x11-libs/libICE +" +RDEPEND=${DEPEND} + +RESTRICT="test" #131024 + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_prepare() { + # automake-1.12 + sed \ + -e '/AM_C_PROTOTYPES/d' \ + -i configure.in || die + # automake-1.13 + mv configure.{in,ac} || die + autotools-utils_src_prepare +} + +src_configure() { + export loader_run_path="/usr/$(get_libdir)" + local myeconfargs=( + --disable-dependency-tracking + --with-tcl + --with-ngspice + --with-tk + --with-cairo + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile appdefaultsdir="/usr/share/X11/app-defaults" +} + +src_install () { + autotools-utils_src_install \ + appdefaultsdir="/usr/share/X11/app-defaults" \ + appmandir="/usr/share/man/man1" +} -- cgit v1.2.3