From 1d92fd1dab9a6df63c3be3cc6f748633e0a13afd Mon Sep 17 00:00:00 2001 From: yopito Date: Wed, 1 Jun 2016 10:11:54 +0200 Subject: [PATCH] New package: gl2ps-1.3.9 --- common/shlibs | 1 + srcpkgs/gl2ps-devel | 1 + srcpkgs/gl2ps/template | 29 +++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 120000 srcpkgs/gl2ps-devel create mode 100644 srcpkgs/gl2ps/template diff --git a/common/shlibs b/common/shlibs index 4a45ae2b55..a09dd0c4e5 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 0000000000..a1e257fa6d --- /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 0000000000..719e7e0837 --- /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 + } +}