# Template file for 'gl2ps' pkgname=gl2ps version=1.3.9 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 " license="LGPL-2, GL2PS" homepage="http://www.geuz.org/gl2ps/" distfiles="http://geuz.org/${pkgname}/src/${pkgname}-${version}.tgz" checksum=8a680bff120df8bcd78afac276cdc38041fed617f2721bade01213362bcc3640 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 } }