blob: 5520710177a60db9aac5752bf493a983aaf38a4c (
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/sci-electronics/ng-spice-rework/ng-spice-rework-15.ebuild,v 1.1 2004/12/27 20:05:13 ribosome 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
}
|