Open mikeanthonywild opened 6 years ago
Don't forget the magic additions needed to build libngspice.so
:
---
debian/ngspice.install | 1 +
debian/rules | 2 ++
2 files changed, 3 insertions(+)
diff --git a/debian/ngspice.install b/debian/ngspice.install
index 5234705..a71e648 100644
--- a/debian/ngspice.install
+++ b/debian/ngspice.install
@@ -1,4 +1,5 @@
usr/bin/*
+usr/lib/libngspice.so*
usr/lib/ngspice/*
#usr/share/info/*
usr/share/man/*
diff --git a/debian/rules b/debian/rules
index 5426623..0a95bb9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,6 +47,7 @@ config.status-stamp:
--mandir=\$${prefix}/share/man \
--enable-maintainer-mode \
--with-editline=yes \
+ --with-ngshared \
--enable-xspice \
--enable-cider \
--disable-debug)
@@ -169,6 +170,7 @@ binary-arch: install-arch
dh_strip -a --exlude=.cm
dh_compress -a --exclude=.tcl --exclude=.cir
dh_fixperms -a
+ dh_makeshlibs -pngspice
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
--
2.8.1
After multiple attempts, this one's going on the backburner. Applying the patch above gets us exactly the files we need, however there's a bunch of extra complexity around creating a changefile etc.
For the time being it's easier to just wget
the .deb
that was already in the PPA and install that with dpkg
...
As part of #16 we will need to configure the ngspice-shared PPA to build for Ubuntu 17.10 (Artful).