summaryrefslogtreecommitdiff
path: root/package/glu
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-25 12:23:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-25 12:23:41 +0200
commitd2018a1e2a1ca6eac95d6c65e90c273f31d1f196 (patch)
treeff3e2ea2cc09c0dcb8f258f985c2432e1008a06f /package/glu
parent06c8931fdba8e5940db45085e15c8faed57764ba (diff)
fix freeglut compile, add missing dependency glu. needed after mesa-lib update. library is split out from mesa-lib
Diffstat (limited to 'package/glu')
-rw-r--r--package/glu/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/glu/Makefile b/package/glu/Makefile
new file mode 100644
index 000000000..d24c6fa6f
--- /dev/null
+++ b/package/glu/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= glu
+PKG_VERSION:= 9.0.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= be9249132ff49275461cf92039083030
+PKG_DESCR:= GLU library
+PKG_SECTION:= libs
+PKG_URL:= http://cgit.freedesktop.org/mesa/glu/
+PKG_SITES:= ftp://ftp.freedesktop.org/pub/mesa/glu/
+PKG_LIBNAME:= libglu
+PKG_OPTS:= dev
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBGLU,libglu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+libglu-install:
+ $(INSTALL_DIR) $(IDIR_LIBGLU)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libGLU.so* \
+ $(IDIR_LIBGLU)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk