summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaumann Andreas <ANaumann@ultratronik.de>2013-12-20 15:05:23 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-26 22:27:50 (GMT)
commit04cae175e2a11b087f0a44cf28143f816d2f147f (patch)
tree7a50484e1b5bbc59c7a4ef6dcdb4f62a3e166b6a
parentd3539dd53bf9e37538fd4d8b89783a11fded119f (diff)
downloadbuildroot-04cae175e2a11b087f0a44cf28143f816d2f147f.tar.gz
buildroot-04cae175e2a11b087f0a44cf28143f816d2f147f.tar.bz2
libevdev: new package
[Thomas: fix license details, improve comment explaining why autoreconf is needed.] Signed-off-by: Andreas Naumann <anaumann@ultratronik.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/libevdev/Config.in6
-rw-r--r--package/libevdev/libevdev.mk20
3 files changed, 27 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 76f8d4f..bcbaea1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -707,6 +707,7 @@ source "package/libdaemon/Config.in"
source "package/libelf/Config.in"
source "package/libev/Config.in"
source "package/libevent/Config.in"
+source "package/libevdev/Config.in"
source "package/libffi/Config.in"
source "package/libglib2/Config.in"
source "package/libical/Config.in"
diff --git a/package/libevdev/Config.in b/package/libevdev/Config.in
new file mode 100644
index 0000000..91dd9db
--- /dev/null
+++ b/package/libevdev/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBEVDEV
+ bool "libevdev"
+ help
+ libevdev is a wrapper library for evdev devices
+
+ http://freedesktop.org/wiki/Software/libevdev/
diff --git a/package/libevdev/libevdev.mk b/package/libevdev/libevdev.mk
new file mode 100644
index 0000000..338bebd
--- /dev/null
+++ b/package/libevdev/libevdev.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# libevdev
+#
+################################################################################
+
+LIBEVDEV_VERSION = 0.5
+LIBEVDEV_SITE = http://cgit.freedesktop.org/libevdev/snapshot
+LIBEVDEV_LICENSE = X11
+LIBEVDEV_LICENSE_FILES = COPYING
+
+# Uses PKG_CHECK_MODULES() in configure.ac
+LIBEVDEV_DEPENDENCIES = host-pkgconf
+
+# package source code coming from git, so it doesn't have generated
+# configure and Makefile.in
+LIBEVDEV_AUTORECONF = YES
+LIBEVDEV_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))