summaryrefslogtreecommitdiffstats
path: root/rules/glu.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-09-27 23:27:26 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-09-29 11:24:34 +0200
commita71f486fac9be1f1016ffb81730e7d309e800e53 (patch)
treed99e1373d5be41fb034d444f9bff1bf945be3034 /rules/glu.make
parent032f7e4f1fe4cb8213c39c3da519f9108852bd7a (diff)
downloadptxdist-a71f486fac9be1f1016ffb81730e7d309e800e53.tar.gz
ptxdist-a71f486fac9be1f1016ffb81730e7d309e800e53.tar.xz
glu: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/glu.make')
-rw-r--r--rules/glu.make61
1 files changed, 61 insertions, 0 deletions
diff --git a/rules/glu.make b/rules/glu.make
new file mode 100644
index 000000000..b26808121
--- /dev/null
+++ b/rules/glu.make
@@ -0,0 +1,61 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_GLU) += glu
+
+#
+# Paths and names
+#
+GLU_VERSION := 9.0.0
+GLU_MD5 := be9249132ff49275461cf92039083030
+GLU := glu-$(GLU_VERSION)
+GLU_SUFFIX := tar.bz2
+GLU_URL := ftp://ftp.freedesktop.org/pub/mesa/glu/$(GLU).$(GLU_SUFFIX)
+GLU_SOURCE := $(SRCDIR)/$(GLU).$(GLU_SUFFIX)
+GLU_DIR := $(BUILDDIR)/$(GLU)
+GLU_LICENSE := unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+GLU_CONF_TOOL := autoconf
+GLU_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-static \
+ --disable-debug \
+ --disable-osmesa
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/glu.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, glu)
+ @$(call install_fixup, glu,PRIORITY,optional)
+ @$(call install_fixup, glu,SECTION,base)
+ @$(call install_fixup, glu,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+ @$(call install_fixup, glu,DESCRIPTION,missing)
+
+ @$(call install_lib, glu, 0, 0, 0644, libGLU)
+
+ @$(call install_finish, glu)
+
+ @$(call touch)
+
+# vim: syntax=make