diff options
author | Michael Weber <xmw@gentoo.org> | 2017-03-16 08:50:18 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-03-16 08:58:52 +0100 |
commit | e75faf658899144d6f58461dc1eaf3ee8be4e970 (patch) | |
tree | bc04ece196c6a571411201ca39ed40a22695cf7f /sci-electronics/xcircuit/xcircuit-3.8.83.ebuild | |
parent | app-benchmarks/stress: arm ppc ppc64 stable (bug 612478). (diff) | |
download | gentoo-e75faf658899144d6f58461dc1eaf3ee8be4e970.tar.gz gentoo-e75faf658899144d6f58461dc1eaf3ee8be4e970.tar.bz2 gentoo-e75faf658899144d6f58461dc1eaf3ee8be4e970.zip |
sci-electronics/xcircuit: Version bump to latest 3.8.x.
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'sci-electronics/xcircuit/xcircuit-3.8.83.ebuild')
-rw-r--r-- | sci-electronics/xcircuit/xcircuit-3.8.83.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/sci-electronics/xcircuit/xcircuit-3.8.83.ebuild b/sci-electronics/xcircuit/xcircuit-3.8.83.ebuild new file mode 100644 index 000000000000..0a9b34650627 --- /dev/null +++ b/sci-electronics/xcircuit/xcircuit-3.8.83.ebuild @@ -0,0 +1,62 @@ +# 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 + sys-libs/zlib + 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 + ) + 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" +} |