New package: ngspice-26

This commit is contained in:
Toyam Cox 2017-03-03 14:09:47 -05:00
parent 6208d51a58
commit 454ade35b2
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- xgraph/Makefile.am.bck 2017-03-03 13:46:57.354309383 -0500
+++ xgraph/Makefile.am 2017-03-03 13:47:05.193092565 -0500
@@ -50,7 +50,6 @@
# C_WARNINGS = -Wall
C_WARNINGS =
-CFLAGS=$(ADDITIONAL_INCLUDES) $(C_WARNINGS) -g $(X_CFLAGS)
xgraph_LDADD= $(ADDITIONAL_LIBS) $(X_LIBS) $(X_PRE_LIBS) $(X_EXTRA_LIBS) -lX11 -lm

View File

@ -0,0 +1,15 @@
104c104
< CFLAGS = $(ADDITIONAL_INCLUDES) $(C_WARNINGS) -g $(X_CFLAGS)
---
> CFLAGS = @CFLAGS@
--- xgraph/Makefile.in.bck 2017-03-03 13:56:19.941818032 -0500
+++ xgraph/Makefile.in 2017-03-03 13:56:33.118453570 -0500
@@ -101,7 +101,7 @@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
-CFLAGS = $(ADDITIONAL_INCLUDES) $(C_WARNINGS) -g $(X_CFLAGS)
+CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@

15
srcpkgs/ngspice/template Normal file
View File

@ -0,0 +1,15 @@
# Template file for 'ngspice'
pkgname=ngspice
version=26
revision=1
build_style=gnu-configure
configure_args="--with-x --with-readline=yes --enable-xgraph"
hostmakedepends="bison byacc"
makedepends="readline-devel libX11-devel libXaw-devel"
short_desc="Mixed Mode Mixed Level Circuit Simulator based on Spice3F5"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="LGPL-2.1"
homepage="http://ngspice.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/ngspice/ng-spice-rework/${version}/${pkgname}-${version}.tar.gz"
checksum=51e230c8b720802d93747bc580c0a29d1fb530f3dd06f213b6a700ca9a4d0108
nocross="https://travis-ci.org/Vaelatern/void-packages/jobs/207472663 but really should be possible with clearing CFLAGS for that binary"