void-packages/srcpkgs/kicad/template

22 lines
848 B
Bash

# Template file for 'kicad'
pkgname=kicad
version=4.0.7
revision=3
build_style=cmake
configure_args="-DKICAD_BUILD_VERSION=$version -DKICAD_SKIP_BOOST=ON
-DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0"
hostmakedepends="pkg-config swig"
makedepends="wxWidgets-devel wxPython-devel python-devel glew-devel cairo-devel
libressl-devel boost-devel libcurl-devel"
depends="wxPython"
short_desc="Electronic schematic and PCB design software"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="http://kicad-pcb.org"
distfiles="https://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}-${version}.tar.xz"
checksum=09074c77c6097d0f2ae49711c6d6f6c4490f0c068bba69b17f5f07319255fdc1
patch_args="-Np1"
CXXFLAGS="-std=c++11"