2016-06-01 10:11:54 +02:00
|
|
|
# Template file for 'gl2ps'
|
|
|
|
pkgname=gl2ps
|
2017-04-06 22:48:22 +02:00
|
|
|
version=1.4.0
|
2016-06-01 10:11:54 +02:00
|
|
|
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"
|
2017-04-06 22:48:22 +02:00
|
|
|
checksum=03cb5e6dfcd87183f3b9ba3b22f04cd155096af81e52988cc37d8d8efe6cf1e2
|
2016-06-01 10:11:54 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|