blob: e72b12c44ff034e56dc45a4a8a0896532a9b15fc (
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
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2005 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.4 2005/05/17 18:20:43 hansmi Exp $
inherit eutils
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="~amd64 ppc ~x86"
DEPEND=">=sys-libs/glibc-2.1.3"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}.gcc-3.4.patch
}
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
}
|