summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
l---------patches/libepoxy-1.2/autogen.sh1
-rw-r--r--rules/libepoxy.in13
-rw-r--r--rules/libepoxy.make63
3 files changed, 77 insertions, 0 deletions
diff --git a/patches/libepoxy-1.2/autogen.sh b/patches/libepoxy-1.2/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/libepoxy-1.2/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh \ No newline at end of file
diff --git a/rules/libepoxy.in b/rules/libepoxy.in
new file mode 100644
index 000000000..86c1c2e3f
--- /dev/null
+++ b/rules/libepoxy.in
@@ -0,0 +1,13 @@
+## SECTION=multimedia_libs
+
+config LIBEPOXY
+ tristate
+ select HOST_SYSTEM_PYTHON
+ select HOST_SYSTEM_PYTHON_ARGPARSE
+ # for autogen.sh
+ select HOST_XORG_UTIL_MACROS
+ select XORG_LIB_X11
+ select MESALIB
+ prompt "libepoxy"
+ help
+ FIXME
diff --git a/rules/libepoxy.make b/rules/libepoxy.make
new file mode 100644
index 000000000..e1b136803
--- /dev/null
+++ b/rules/libepoxy.make
@@ -0,0 +1,63 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 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_LIBEPOXY) += libepoxy
+
+#
+# Paths and names
+#
+LIBEPOXY_VERSION := 1.2
+LIBEPOXY_MD5 := 7f109968e610eff9c8b035a32e29f49c
+LIBEPOXY := libepoxy-$(LIBEPOXY_VERSION)
+LIBEPOXY_SUFFIX := tar.bz2
+LIBEPOXY_URL := https://github.com/anholt/libepoxy.git;tag=v$(LIBEPOXY_VERSION)
+LIBEPOXY_SOURCE := $(SRCDIR)/$(LIBEPOXY).$(LIBEPOXY_SUFFIX)
+LIBEPOXY_DIR := $(BUILDDIR)/$(LIBEPOXY)
+LIBEPOXY_LICENSE := MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+LIBEPOXY_CONF_ENV := \
+ $(CROSS_ENV) \
+ ac_cv_prog_PYTHON=python
+#
+# autoconf
+#
+LIBEPOXY_CONF_TOOL := autoconf
+LIBEPOXY_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-strict-compilation \
+ $(GLOBAL_LARGE_FILE_OPTION)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libepoxy.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libepoxy)
+ @$(call install_fixup, libepoxy,PRIORITY,optional)
+ @$(call install_fixup, libepoxy,SECTION,base)
+ @$(call install_fixup, libepoxy,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+ @$(call install_fixup, libepoxy,DESCRIPTION,missing)
+
+ @$(call install_lib, libepoxy, 0, 0, 0644, libepoxy)
+
+ @$(call install_finish, libepoxy)
+
+ @$(call touch)
+
+# vim: syntax=make