aboutsummaryrefslogtreecommitdiff
path: root/package/edid-decode
diff options
context:
space:
mode:
authorGravatar Peter Seiderer <ps.report@gmx.net>2015-12-07 22:14:44 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-12-09 14:15:14 +0100
commitf856c1f7542cc7544ccea42d29922f118b9d40e2 (patch)
tree7b0fdbf0b4e80af26cdc399825824f2068d56291 /package/edid-decode
parentfa286d180097a0577138fee47740583088f6dfd9 (diff)
downloadbuildroot-f856c1f7542cc7544ccea42d29922f118b9d40e2.tar.gz
buildroot-f856c1f7542cc7544ccea42d29922f118b9d40e2.tar.bz2
edid-decode: new package
[Peter: pass TARGET_CFLAGS/LDFLAGS, quote TARGET_DIR] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/edid-decode')
-rw-r--r--package/edid-decode/Config.in6
-rw-r--r--package/edid-decode/edid-decode.mk20
2 files changed, 26 insertions, 0 deletions
diff --git a/package/edid-decode/Config.in b/package/edid-decode/Config.in
new file mode 100644
index 0000000000..64297b494d
--- /dev/null
+++ b/package/edid-decode/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_EDID_DECODE
+ bool "edid-decode"
+ help
+ Decode EDID data in human-readable format.
+
+ http://cgit.freedesktop.org/xorg/app/edid-decode/
diff --git a/package/edid-decode/edid-decode.mk b/package/edid-decode/edid-decode.mk
new file mode 100644
index 0000000000..8fcc19ecb3
--- /dev/null
+++ b/package/edid-decode/edid-decode.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# edid-decode
+#
+################################################################################
+
+EDID_DECODE_VERSION = 681153145d5e05ee15032ea792e967cda06e7622
+EDID_DECODE_SITE = git://anongit.freedesktop.org/git/xorg/app/edid-decode.git
+EDID_DECODE_LICENSE = MIT
+EDID_DECODE_LICENSE_FILES = edid-decode.c
+
+define EDID_DECODE_BUILD_CMDS
+ $(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)"
+endef
+
+define EDID_DECODE_INSTALL_TARGET_CMDS
+ $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
+endef
+
+$(eval $(generic-package))