void-packages/srcpkgs/gpsim/template
2019-09-30 18:59:27 +02:00

27 lines
846 B
Bash

# Template file for 'gpsim'
pkgname=gpsim
version=0.31.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="gtk+-devel popt-devel readline-devel"
short_desc="Full-featured software simulator for Microchip PIC mictocontrollers"
maintainer="Robert Lowry <bobertlo@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://gpsim.sourceforge.net/"
distfiles="https://sourceforge.net/projects/gpsim/files/gpsim/${version}/gpsim-${version}.tar.gz"
checksum=110ee6be3a5d02b32803a91e480cbfc9d423ef72e0830703fc0bc97b9569923f
pre_configure() {
vsed -i -e 's/#include "error.h"//' src/modules.cc
}
gpsim-devel_package() {
short_desc+=" - development files"
depends="gpsim-${version}_${revision} gtk+-devel popt-devel readline-devel"
pkg_install() {
vmove usr/include/gpsim
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}