void-packages/srcpkgs/ngspice/template
2018-06-17 19:05:04 -03:00

29 lines
1.1 KiB
Bash

# Template file for 'ngspice'
pkgname=ngspice
version=28
revision=1
build_style=gnu-configure
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"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://ngspice.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/ngspice/ng-spice-rework/${version}/${pkgname}-${version}.tar.gz"
checksum=94804fa78c8db2f90f088902e8c27f7b732a66767a58c70f37612bff5a16df66
nocross="https://travis-ci.org/Vaelatern/void-packages/jobs/207472663 but really should be possible with clearing CFLAGS for that binary"
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/7601/steps/shell_3/logs/stdio";;
esac
ngspice-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}