void-packages/srcpkgs/gl2ps/template
2017-04-06 22:48:22 +02:00

29 lines
796 B
Bash

# Template file for 'gl2ps'
pkgname=gl2ps
version=1.4.0
revision=1
wrksrc="${pkgname}-${version}-source"
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, GL2PS"
homepage="http://www.geuz.org/gl2ps/"
distfiles="http://geuz.org/${pkgname}/src/${pkgname}-${version}.tgz"
checksum=03cb5e6dfcd87183f3b9ba3b22f04cd155096af81e52988cc37d8d8efe6cf1e2
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
}
}