#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=gnucap
pkgver=20091207
pkgrel=1gv
source=("http://gnucap.org/devel/gnucap-2009-12-07.tar.gz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://www.gnu.org/software/gnucap

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gnucap (the Gnu Circuit Analysis Package)"
"GNUCAP is a general purpose circuit simulator. It performs nonlinear"
"dc and transient analyses, Fourier analysis, and ac analysis"
"linearized at an operating point. It is fully interactive and command"
"driven. It can also be run in batch mode or as a server. The output is"
"produced as it simulates. Spice compatible models for the MOSFET"
"(level 1,2,3) and diode are included in this release."
)


build() {
	cd $startdir/src/$pkgname-2009-12-07
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}