/[gentoo-x86]/app-sci/spice/spice-3.5.5.ebuild
Gentoo

Contents of /app-sci/spice/spice-3.5.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Mon Dec 27 20:20:03 2004 UTC (13 years, 3 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
Moving to sci-electronics/spice

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-sci/spice/spice-3.5.5.ebuild,v 1.11 2004/10/23 00:26:38 blubb Exp $
4
5 IUSE=""
6
7 MY_P="spice3f5sfix"
8 DESCRIPTION="general-purpose circuit simulation program"
9 HOMEPAGE="http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/"
10 SRC_URI="http://www.ibiblio.org/pub/Linux/apps/circuits/${MY_P}.tar.gz"
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="x86 ~ppc ~amd64"
15
16 DEPEND="sys-libs/ncurses
17 virtual/x11"
18
19 S=${WORKDIR}/${MY_P}
20
21 src_unpack() {
22 unpack ${A}
23 cd ${S}/conf
24 [ -z $EDITOR ] || EDITOR="vim"
25 # cp linux{,.orig}
26 sed -e "s:termcap:ncurses:g" \
27 -e "s:joe:${EDITOR}:g" \
28 -e "s:-O2 -s:${CFLAGS}:g" \
29 -e "s:SPICE_DIR)/lib:SPICE_DIR)/lib/spice:g" \
30 -e "s:/usr/local/spice:/usr:g" \
31 -i.orig linux
32 }
33
34 src_compile() {
35 ./util/build linux || die
36 obj/bin/makeidx lib/helpdir/spice.txt || die
37 }
38
39 src_install() {
40 cd ${S}
41 # install binaries
42 dobin obj/bin/{spice3,nutmeg,sconvert,multidec,proc2mod}
43 newbin obj/bin/help spice.help
44 dosym /usr/bin/spice3 /usr/bin/spice
45 # install runtime stuff
46 rm -f lib/make*
47 dodir /usr/lib/spice
48 cp -R lib/* ${D}/usr/lib/spice/
49 # install docs
50 doman man/man1/*.1
51 dodoc readme readme.Linux notes/spice2
52 }

  ViewVC Help
Powered by ViewVC 1.1.20