diff --git a/common/shlibs b/common/shlibs index 4a45ae2b55b..a09dd0c4e58 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2484,3 +2484,4 @@ libtwaindsm.so.2 twaindsm-2.3.0_1 libspnav.so.0 libspnav-0.2.3_1 libsimage.so.20 simage-1.7.0_1 libCoin.so.60 coin3-3.1.3_1 +libgl2ps.so.1 gl2ps-1.3.9_1 diff --git a/srcpkgs/gl2ps-devel b/srcpkgs/gl2ps-devel new file mode 120000 index 00000000000..a1e257fa6d6 --- /dev/null +++ b/srcpkgs/gl2ps-devel @@ -0,0 +1 @@ +gl2ps \ No newline at end of file diff --git a/srcpkgs/gl2ps/template b/srcpkgs/gl2ps/template new file mode 100644 index 00000000000..719e7e08370 --- /dev/null +++ b/srcpkgs/gl2ps/template @@ -0,0 +1,29 @@ +# 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 + } +}