summaryrefslogtreecommitdiffstats
path: root/package/x11r7/libdrm
diff options
context:
space:
mode:
Diffstat (limited to 'package/x11r7/libdrm')
-rw-r--r--package/x11r7/libdrm/Config.in8
-rw-r--r--package/x11r7/libdrm/libdrm.mk15
2 files changed, 23 insertions, 0 deletions
diff --git a/package/x11r7/libdrm/Config.in b/package/x11r7/libdrm/Config.in
new file mode 100644
index 000000000..68b91fd6e
--- /dev/null
+++ b/package/x11r7/libdrm/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBDRM
+ bool "libdrm"
+ default n
+ help
+ Direct Rendering Manager
+
+ http://dri.freedesktop.org/
+
diff --git a/package/x11r7/libdrm/libdrm.mk b/package/x11r7/libdrm/libdrm.mk
new file mode 100644
index 000000000..8e7fffc13
--- /dev/null
+++ b/package/x11r7/libdrm/libdrm.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# libdrm
+#
+#############################################################
+LIBDRM_VERSION = 2.3.0
+LIBDRM_SOURCE = libdrm-$(LIBDRM_VERSION).tar.bz2
+LIBDRM_SITE = http://dri.freedesktop.org/libdrm/
+
+LIBDRM_INSTALL_STAGING = YES
+
+LIBDRM_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+
+$(eval $(call AUTOTARGETS,libdrm))
+