### this file is sourced not run
PKGVER=28.0
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=ngspice-28.tar.gz
MD5SUM=5ee9c0a5f52d69ae20b8ef9b46608769
SRC_URL=http://downloads.sourceforge.net/ngspice/$TARBALL
BUNDLE=

SLACKREQ='libfftw3'
SLACKDESC="libngspice: libngspice $PKGVER (Circuit simulator)
libngspice: 
libngspice: Ngspice is a mixed-level/mixed-signal circuit simulator.
libngspice: 
libngspice: http://ngspice.sourceforge.net/
libngspice: 
libngspice: This is the shared-library version of ngspice, for use with
libngspice: other programs which performs simulations.
libngspice: 
libngspice: Look for 'ngspice' for the command line program itself.
libngspice:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --with-ngshared --enable-xspice"
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	rm -r /usr/share/man/man1 /usr/share/ngspice/
}


