From 61ac0ab1727d4bba2af3295791299fba41e56934 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Mon, 22 Jan 2018 20:33:35 -0500 Subject: [PATCH] ngspice: change to shared library --- common/shlibs | 1 + srcpkgs/ngspice/template | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/common/shlibs b/common/shlibs index d9656c99ca9..6012ef27cf6 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/ngspice/template b/srcpkgs/ngspice/template index 4c799c283ef..f82fe9ce122 100644 --- a/srcpkgs/ngspice/template +++ b/srcpkgs/ngspice/template @@ -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 + } +}