From f527f2b98df00f31fc5dfc635c13faeadd160ceb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 9 Oct 2012 10:54:07 +0200 Subject: [PATCH] New package: glu-9.0.0. --- common/shlibs | 2 +- srcpkgs/glu-devel | 1 + srcpkgs/glu/glu-devel.template | 14 ++++++++++++++ srcpkgs/glu/glu.rshlibs | 5 +++++ srcpkgs/glu/template | 23 +++++++++++++++++++++++ 5 files changed, 44 insertions(+), 1 deletion(-) create mode 120000 srcpkgs/glu-devel create mode 100644 srcpkgs/glu/glu-devel.template create mode 100644 srcpkgs/glu/glu.rshlibs create mode 100644 srcpkgs/glu/template diff --git a/common/shlibs b/common/shlibs index bf02c164f71..771da7fc9d2 100644 --- a/common/shlibs +++ b/common/shlibs @@ -95,7 +95,7 @@ libpng14.so.14 libpng-1.4.2_1 libpng15.so.15 libpng-1.5.10_1 libXrender.so.1 libXrender-0.9.4_1 libXrandr.so.2 libXrandr-1.3.0_1 -libGLU.so.1 libGLU-7.11_1 +libGLU.so.1 glu-9.0.0_1 libEGL.so.1 libEGL-7.11_1 libGLESv1_CM.so.1 libEGL-7.11_1 libGL.so.1 libGL-7.11_1 diff --git a/srcpkgs/glu-devel b/srcpkgs/glu-devel new file mode 120000 index 00000000000..965abb0b909 --- /dev/null +++ b/srcpkgs/glu-devel @@ -0,0 +1 @@ +glu \ No newline at end of file diff --git a/srcpkgs/glu/glu-devel.template b/srcpkgs/glu/glu-devel.template new file mode 100644 index 00000000000..f1626d06d80 --- /dev/null +++ b/srcpkgs/glu/glu-devel.template @@ -0,0 +1,14 @@ +# Template file for 'libGLU-devel'. +# +depends="MesaLib-devel>=9.0 glu-${version}_${revision}" +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +noarch=yes + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/glu/glu.rshlibs b/srcpkgs/glu/glu.rshlibs new file mode 100644 index 00000000000..5b735b6fdd3 --- /dev/null +++ b/srcpkgs/glu/glu.rshlibs @@ -0,0 +1,5 @@ +libGL.so.1 +libstdc++.so.6 +libm.so.6 +libc.so.6 +libgcc_s.so.1 diff --git a/srcpkgs/glu/template b/srcpkgs/glu/template new file mode 100644 index 00000000000..de1ba96727b --- /dev/null +++ b/srcpkgs/glu/template @@ -0,0 +1,23 @@ +# Template file for 'glu' +pkgname=glu +version=9.0.0 +revision=1 +build_style=gnu-configure +configure_args="--disable-static" +makedepends="pkg-config MesaLib-devel>=9.0" +maintainer="Juan RP " +license="LGPL-2.1" +short_desc="Mesa OpenGL utility library (GLU)" +homepage="http://cgit.freedesktop.org/mesa/glu/" +distfiles="ftp://ftp.freedesktop.org/pub/mesa/glu/glu-${version}.tar.bz2" +checksum=1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12 +long_desc=" + GLU offers simple interfaces for building mipmaps; checking for the presence + of extensions in the OpenGL (or other libraries which follow the same + conventions for advertising extensions); drawing piecewise-linear curves, + NURBS, quadrics and other primitives (including, but not limited to, + teapots); tesselating surfaces; setting up projection matrices and + unprojecting screen coordinates to world coordinates." + +subpackages="glu-devel" +replaces="libGLU<9.0"