diff options
author | George Shapovalov <george@gentoo.org> | 2003-04-29 06:17:54 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2003-04-29 06:17:54 +0000 |
commit | b13f69fc95868b3c75f1c82624baa025411592b6 (patch) | |
tree | 7c28fbd08c6a6c7057abacbd9ac0b9b09612d34d /app-sci/spice/spice-3.5.5.ebuild | |
parent | ufed-0.31 comitted in unstable (diff) | |
download | historical-b13f69fc95868b3c75f1c82624baa025411592b6.tar.gz historical-b13f69fc95868b3c75f1c82624baa025411592b6.tar.bz2 historical-b13f69fc95868b3c75f1c82624baa025411592b6.zip |
few minor touchups
Diffstat (limited to 'app-sci/spice/spice-3.5.5.ebuild')
-rw-r--r-- | app-sci/spice/spice-3.5.5.ebuild | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/app-sci/spice/spice-3.5.5.ebuild b/app-sci/spice/spice-3.5.5.ebuild index eb66c56648ac..2e9884ccacd8 100644 --- a/app-sci/spice/spice-3.5.5.ebuild +++ b/app-sci/spice/spice-3.5.5.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/spice/spice-3.5.5.ebuild,v 1.5 2003/03/01 03:43:38 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/spice/spice-3.5.5.ebuild,v 1.6 2003/04/29 06:17:54 george Exp $ + +IUSE="" MY_P="spice3f5sfix" DESCRIPTION="general-purpose circuit simulation program" @@ -11,20 +13,21 @@ LICENSE="BSD" SLOT="0" KEYWORDS="x86" -DEPEND="virtual/glibc - sys-libs/ncurses" +DEPEND="sys-libs/ncurses" S=${WORKDIR}/${MY_P} src_unpack() { - unpack ${A} ; cd ${S}/conf - cp linux{,.orig} + unpack ${A} + cd ${S}/conf + [ -z $EDITOR ] || EDITOR="vim" +# cp linux{,.orig} sed -e "s:termcap:ncurses:g" \ - -e "s:joe:emacs:g" \ + -e "s:joe:${EDITOR}:g" \ -e "s:-O2 -s:${CFLAGS}:g" \ -e "s:SPICE_DIR)/lib:SPICE_DIR)/lib/spice:g" \ -e "s:/usr/local/spice:/usr:g" \ - linux.orig > linux + -i.orig linux } src_compile() { @@ -33,6 +36,7 @@ src_compile() { } src_install() { + cd ${S} # install binaries dobin obj/bin/{spice3,nutmeg,sconvert,multidec,proc2mod} newbin obj/bin/help spice.help @@ -43,5 +47,5 @@ src_install() { cp -R lib/* ${D}/usr/lib/spice/ # install docs doman man/man1/*.1 - dodoc doc readme readme.Linux notes/spice2 + dodoc readme readme.Linux notes/spice2 } |