diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2006-09-12 19:00:19 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2006-09-12 19:00:19 +0000 |
commit | 5a653982faa32d23de2cb6c04924099a4dd898d0 (patch) | |
tree | 9871d59ffa213aa425bf109334bb19473f7b859e /sci-electronics | |
parent | Stable on hppa wrt #146793 (diff) | |
download | gentoo-2-5a653982faa32d23de2cb6c04924099a4dd898d0.tar.gz gentoo-2-5a653982faa32d23de2cb6c04924099a4dd898d0.tar.bz2 gentoo-2-5a653982faa32d23de2cb6c04924099a4dd898d0.zip |
Version bump.
(Portage version: 2.1.1)
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/gnucap/ChangeLog | 7 | ||||
-rw-r--r-- | sci-electronics/gnucap/files/digest-gnucap-20060830 | 3 | ||||
-rw-r--r-- | sci-electronics/gnucap/gnucap-20060830.ebuild | 60 |
3 files changed, 69 insertions, 1 deletions
diff --git a/sci-electronics/gnucap/ChangeLog b/sci-electronics/gnucap/ChangeLog index 1c190ae91e17..615303550959 100644 --- a/sci-electronics/gnucap/ChangeLog +++ b/sci-electronics/gnucap/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/gnucap # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/ChangeLog,v 1.19 2006/09/11 00:42:14 tsunam Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/ChangeLog,v 1.20 2006/09/12 19:00:19 calchan Exp $ + +*gnucap-20060830 (12 Sep 2006) + + 12 Sep 2006; Denis Dupeyron <calchan@gentoo.org> +gnucap-20060830.ebuild: + Version bump. 11 Sep 2006; Joshua Jackson <tsunam@gentoo.org> gnucap-20060708.ebuild: Stable x86; bug #146894 diff --git a/sci-electronics/gnucap/files/digest-gnucap-20060830 b/sci-electronics/gnucap/files/digest-gnucap-20060830 new file mode 100644 index 000000000000..9b4dfdbb53f6 --- /dev/null +++ b/sci-electronics/gnucap/files/digest-gnucap-20060830 @@ -0,0 +1,3 @@ +MD5 1561136beb32f04cab4f245ade0861db gnucap-2006-08-30.tar.gz 1008949 +RMD160 000edb52fa0da0f7376a1d463de31101713996f4 gnucap-2006-08-30.tar.gz 1008949 +SHA256 d01989ab7dbf980d0f308033fd2e57146a0dbf3254161f1e8d8a49c5882311bc gnucap-2006-08-30.tar.gz 1008949 diff --git a/sci-electronics/gnucap/gnucap-20060830.ebuild b/sci-electronics/gnucap/gnucap-20060830.ebuild new file mode 100644 index 000000000000..af2235add4a4 --- /dev/null +++ b/sci-electronics/gnucap/gnucap-20060830.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/gnucap-20060830.ebuild,v 1.1 2006/09/12 19:00:19 calchan Exp $ + +MY_PV="${PV:0:4}-${PV:4:2}-${PV:6}" + +DESCRIPTION="GNUCap is the GNU Circuit Analysis Package" +SRC_URI="http://geda.seul.org/dist/gnucap-${MY_PV}.tar.gz" +HOMEPAGE="http://www.geda.seul.org/tools/gnucap" + +IUSE="doc examples readline" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="doc? ( app-text/tetex ) + readline? ( + sys-libs/readline + sys-libs/libtermcap-compat )" +S="${WORKDIR}/${PN}-${MY_PV}" + +src_unpack() { + unpack ${A} || die "Failed to unpack!" + cd ${S} + + # Don't let gnucap decide whether to use readline + if ! use readline ; then + sed -i \ + -e 's:LIBS="-lreadline $LIBS":LIBS="$LIBS":' \ + -e 's:#define HAVE_LIBREADLINE 1:#define HAVE_LIBREADLINE 0:' \ + configure || die "sed failed" + fi + + # No need to install COPYING and INSTALL + sed -i \ + -e 's: COPYING INSTALL::' \ + -e 's:COPYING history INSTALL:history:' \ + doc/Makefile.in || die "sed failed" + + if ! use doc ; then + sed -i \ + -e 's:SUBDIRS = doc examples man:SUBDIRS = doc examples:' \ + Makefile.in || die "sed failed" + fi + + if ! use examples ; then + sed -i \ + -e 's:SUBDIRS = doc examples:SUBDIRS = doc:' \ + Makefile.in || die "sed failed" + fi +} + +src_compile() { + econf || die "Configuration failed" + emake || die "Compilation failed" +} + +src_install () { + make DESTDIR=${D} install || die "Installation failed" +} |