ngspice: change to shared library

This commit is contained in:
Toyam Cox 2018-01-22 20:33:35 -05:00
parent abd57005f3
commit 61ac0ab172
2 changed files with 12 additions and 2 deletions

View file

@ -3044,6 +3044,7 @@ libgloox.so.17 gloox-1.0.20_1
libgsmsd.so.8 gammu-smsd-1.39.0_1
libGammu.so.8 gammu-1.39.0_1
libz3.so z3-4.6.0_2
libngspice.so.0 ngspice-27_2
libvulkan.so.1 vulkan-loader-1.0.57.0_1
libVkLayer_core_validation.so vulkan-validation-layers-1.0.57.0_1
libVkLayer_device_profile_api.so vulkan-validation-layers-1.0.57.0_1

View file

@ -1,9 +1,9 @@
# Template file for 'ngspice'
pkgname=ngspice
version=27
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-x --with-readline=yes --enable-xgraph"
configure_args="--with-readline=yes --with-ngshared --enable-xspice --enable-cider"
hostmakedepends="bison byacc"
makedepends="readline-devel libX11-devel libXaw-devel"
short_desc="Mixed Mode Mixed Level Circuit Simulator based on Spice3F5"
@ -13,3 +13,12 @@ homepage="http://ngspice.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/ngspice/ng-spice-rework/${version}/${pkgname}-${version}.tar.gz"
checksum=0c08c7d57a2e21cf164496f3237f66f139e0c78e38345fbe295217afaf150695
nocross="https://travis-ci.org/Vaelatern/void-packages/jobs/207472663 but really should be possible with clearing CFLAGS for that binary"
ngspice-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}