edid-decode: new package
authorPeter Seiderer <ps.report@gmx.net>
Mon, 7 Dec 2015 21:14:44 +0000 (22:14 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 9 Dec 2015 13:15:14 +0000 (14:15 +0100)
[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>
package/Config.in
package/edid-decode/Config.in [new file with mode: 0644]
package/edid-decode/edid-decode.mk [new file with mode: 0644]

index 2bdad01a60132d1e29ddc89e1e1d640babc9af8b..0eb6fda0109c6b2626f5093d1f5b2cc538967a1a 100644 (file)
@@ -340,6 +340,7 @@ endif
        source "package/dtv-scan-tables/Config.in"
        source "package/dvb-apps/Config.in"
        source "package/dvbsnoop/Config.in"
+       source "package/edid-decode/Config.in"
        source "package/eeprog/Config.in"
        source "package/eudev/Config.in"
        source "package/evemu/Config.in"
diff --git a/package/edid-decode/Config.in b/package/edid-decode/Config.in
new file mode 100644 (file)
index 0000000..64297b4
--- /dev/null
@@ -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 (file)
index 0000000..8fcc19e
--- /dev/null
@@ -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))