blob: 9cadad90a25b6a5dd02a581467a5915b9c9771b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/ng-spice-rework/ng-spice-rework-15.ebuild,v 1.5 2004/09/13 20:58:56 plasmaroo Exp $
DESCRIPTION="NGSpice - The Next Generation Spice (Circuit Emulator)"
SRC_URI="http://www.geda.seul.org/dist/ngspice-rework${PV}.tgz"
HOMEPAGE="http://ngspice.sourceforge.net"
SLOT="0"
IUSE=""
LICENSE="BSD GPL-2"
KEYWORDS="~x86 ~ppc"
DEPEND=">=sys-libs/glibc-2.1.3"
src_compile() {
econf || die
emake || die
}
src_install () {
local infoFile
for infoFile in doc/ngspice.info*; do
echo 'INFO-DIR-SECTION EDA' >> ${infoFile}
echo 'START-INFO-DIR-ENTRY' >> ${infoFile}
echo '* NGSPICE: (ngspice). Electronic Circuit Simulator.' >> ${infoFile}
echo 'END-INFO-DIR-ENTRY' >> ${infoFile}
done
make DESTDIR=${D} install || die
dodoc COPYING COPYRIGHT CREDITS ChangeLog README
}
|