diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2009-06-07 05:43:47 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2009-06-07 05:43:47 +0000 |
commit | e4fbe4c94e2689957815cf3811f03b5b46b230c2 (patch) | |
tree | 8882014645b84ff2d6da37a55c937cf95690eb75 /sci-electronics | |
parent | Copied ebuild from overlay - thanks to ABCD and reavertm for the fixes. (diff) | |
download | historical-e4fbe4c94e2689957815cf3811f03b5b46b230c2.tar.gz historical-e4fbe4c94e2689957815cf3811f03b5b46b230c2.tar.bz2 historical-e4fbe4c94e2689957815cf3811f03b5b46b230c2.zip |
Fixed pre-stripped files and LDFLAGS, bug #252038. Straight to stable for those arches where it is stable because it is such a minor change.
Package-Manager: portage-2.1.6.13/cvs/Linux i686
RepoMan-Options: --force
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/spice/ChangeLog | 10 | ||||
-rw-r--r-- | sci-electronics/spice/Manifest | 3 | ||||
-rw-r--r-- | sci-electronics/spice/spice-3.5.5-r1.ebuild | 65 |
3 files changed, 75 insertions, 3 deletions
diff --git a/sci-electronics/spice/ChangeLog b/sci-electronics/spice/ChangeLog index 09e210d1334c..df4f6895c86d 100644 --- a/sci-electronics/spice/ChangeLog +++ b/sci-electronics/spice/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-electronics/spice -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/spice/ChangeLog,v 1.10 2007/04/18 07:36:35 opfer Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/spice/ChangeLog,v 1.11 2009/06/07 05:43:47 calchan Exp $ + +*spice-3.5.5-r1 (07 Jun 2009) + + 07 Jun 2009; Denis Dupeyron <calchan@gentoo.org> +spice-3.5.5-r1.ebuild: + Fixed pre-stripped files and LDFLAGS, bug #252038. Straight to stable for + those arches where it is stable because it is such a minor change. 18 Apr 2007; Christian Faulhammer <opfer@gentoo.org> spice-3.5.5.ebuild: stable amd64, bug 174791 diff --git a/sci-electronics/spice/Manifest b/sci-electronics/spice/Manifest index 8fcb4415c422..a590ad79e823 100644 --- a/sci-electronics/spice/Manifest +++ b/sci-electronics/spice/Manifest @@ -1,5 +1,6 @@ AUX spice-3.5.5-gcc-4.1.patch 2511 RMD160 5e55a8939ec825a3867be593a99d211c9d1e3c1b SHA1 9843081300f200559226cbe645d9cc94234ee358 SHA256 8b1b0ee2a28c995e5a71ac313cef18ed0baa01a313949b9586ce56377ef35ec3 DIST spice3f5sfix.tar.gz 1377263 RMD160 dc3b02b9b9783c7b08fd6cdb1fbe3355c5739e49 SHA1 1e2e6d3c28cd28e9fad2479610fc43146f5ca755 SHA256 8df74cc3d12f0e2c32c8455008ae4bf837e736edec9cedbc68c86b72e20abf5d +EBUILD spice-3.5.5-r1.ebuild 1707 RMD160 3c0dc5663ac40f38c7a8553bfdbc70feecf320a2 SHA1 1f137ca4fe700339a1de41053585aa01039a6cd5 SHA256 9e065fa8a313d34faa10bf0f9bcef7611371d66c508ece5a36143c9fcb658f4d EBUILD spice-3.5.5.ebuild 1659 RMD160 0abd815867df4ee059ce52c70861659b3dfa82b0 SHA1 75ce0ede2244f00db588783ca0cb9e6a354c6571 SHA256 d17a9454ac6e66eb21260f80b678d8d6e5a9917b48da0f50f782feb7a52f59ac -MISC ChangeLog 2609 RMD160 208d12b93dd4c947d7e5f16d6042ba45216f75e1 SHA1 9b628c3c9802c2fe311f716057833c0e4381afca SHA256 6f6c995c8958b11f7d9577ad8d6afe899f4e7e362a9b0a7d7a7978294bff8ef9 +MISC ChangeLog 2863 RMD160 736f1ed508d3a877a09117a7e021bd0536313594 SHA1 7875840cc0e921c3ccdb9687ec215016463e4adc SHA256 6357bc75684e81ade4ff430875b018e1a1502d766d93130f1dc927c9bbcd9fb8 MISC metadata.xml 690 RMD160 9e8afed9996cc2c11388638bd0129b2ea50062f1 SHA1 0f98743fa250170c25ed97309f0a1c39d0624f8d SHA256 8b9ef70c8bfc12f9b87bca110e52da6e9e4cab3436fdb5552e152fc9da5fe8f3 diff --git a/sci-electronics/spice/spice-3.5.5-r1.ebuild b/sci-electronics/spice/spice-3.5.5-r1.ebuild new file mode 100644 index 000000000000..6b86bdc3084f --- /dev/null +++ b/sci-electronics/spice/spice-3.5.5-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/spice/spice-3.5.5-r1.ebuild,v 1.1 2009/06/07 05:43:47 calchan Exp $ + +inherit eutils flag-o-matic multilib + +IUSE="" + +MY_P="spice3f5sfix" +DESCRIPTION="general-purpose circuit simulation program" +HOMEPAGE="http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/" +SRC_URI="http://www.ibiblio.org/pub/Linux/apps/circuits/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" + +RDEPEND="sys-libs/ncurses + x11-libs/libXaw" + +DEPEND="${RDEPEND} + x11-proto/xproto" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + # spice accepts -O1 at most + replace-flags -O* -O1 + + unpack ${A} + cd "${S}" + # Avoid re-creating WORKDIR due to stupid mtime + touch .. + + [ -z $EDITOR ] || EDITOR="vim" + sed -i -e "s:termcap:ncurses:g" \ + -e "s:joe:${EDITOR}:g" \ + -e "s:-O2 -s:${CFLAGS}:g" \ + -e "s:-lncurses -lm -s:-lncurses -lm ${LDFLAGS}:" \ + -e "s:SPICE_DIR)/lib:SPICE_DIR)/$(get_libdir)/spice:g" \ + -e "s:/usr/local/spice:/usr:g" \ + -e "s:/X11R6::" \ + conf/linux + sed -i -e "s:head -1:head -n 1:" util/build + epatch "${FILESDIR}"/${P}-gcc-4.1.patch +} + +src_compile() { + ./util/build linux || die "build failed" + obj/bin/makeidx lib/helpdir/spice.txt || die "makeidx failed" +} + +src_install() { + # install binaries + dobin obj/bin/{spice3,nutmeg,sconvert,multidec,proc2mod} || die "failed to copy binaries" + newbin obj/bin/help spice.help + dosym /usr/bin/spice3 /usr/bin/spice + # install runtime stuff + rm -f lib/make* + dodir /usr/$(get_libdir)/spice + cp -R lib/* "${D}"/usr/$(get_libdir)/spice/ + # install docs + doman man/man1/*.1 + dodoc readme readme.Linux notes/spice2 +} |