void-packages/srcpkgs/gts/template

31 lines
800 B
Bash

# Template file for 'gts'
pkgname=gts
version=0.7.6
revision=1
build_style=gnu-configure
hostmakedepends="glib-devel pkg-config"
makedepends="libglib-devel"
short_desc="GNU Triangulated Surface Library"
maintainer="eater <=@eater.me>"
license="LGPL-3.0-or-later"
homepage="http://gts.sourceforge.net/index.html"
distfiles="https://netcologne.dl.sourceforge.net/project/gts/gts/${version}/gts-${version}.tar.gz"
checksum=059c3e13e3e3b796d775ec9f96abdce8f2b3b5144df8514eda0cc12e13e8b81e
make_check=no # 26 tests fail
pre_check() {
chmod 755 test/boolean/test.sh
}
gts-devel_package() {
depends="gts-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}