void-packages/srcpkgs/gl2ps/template
2020-04-08 22:50:59 +02:00

28 lines
769 B
Bash

# Template file for 'gl2ps'
pkgname=gl2ps
version=1.4.2
revision=1
build_style=cmake
makedepends="glu-devel libfreeglut-devel libXmu-devel zlib-devel libpng-devel"
short_desc="OpenGL to PostScript printing library"
maintainer="yopito <pierre.bourgin@free.fr>"
license="LGPL-2.0-or-later, GL2PS"
homepage="http://www.geuz.org/gl2ps/"
distfiles="http://geuz.org/${pkgname}/src/${pkgname}-${version}.tgz"
checksum=8d1c00c1018f96b4b97655482e57dcb0ce42ae2f1d349cd6d4191e7848d9ffe9
post_install() {
vlicense COPYING.GL2PS
vdoc gl2ps.pdf
}
gl2ps-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/doc
}
}