Selaa lähdekoodia

evemu: new package

[Peter: don't try to generate manpages even if host has asciidoc]
Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Naumann Andreas 11 vuotta sitten
vanhempi
commit
db1e4fb891
3 muutettua tiedostoa jossa 35 lisäystä ja 0 poistoa
  1. 1 0
      package/Config.in
  2. 7 0
      package/evemu/Config.in
  3. 27 0
      package/evemu/evemu.mk

+ 1 - 0
package/Config.in

@@ -277,6 +277,7 @@ source "package/dmraid/Config.in"
 source "package/dvb-apps/Config.in"
 source "package/dvbsnoop/Config.in"
 source "package/eeprog/Config.in"
+source "package/evemu/Config.in"
 source "package/evtest/Config.in"
 source "package/fan-ctrl/Config.in"
 source "package/fconfig/Config.in"

+ 7 - 0
package/evemu/Config.in

@@ -0,0 +1,7 @@
+config BR2_PACKAGE_EVEMU
+	bool "evemu"
+	select BR2_PACKAGE_LIBEVDEV
+	help
+	  evemu records and replays device descriptions and events
+
+	  http://www.freedesktop.org/wiki/Evemu/

+ 27 - 0
package/evemu/evemu.mk

@@ -0,0 +1,27 @@
+################################################################################
+#
+# evemu
+#
+################################################################################
+
+EVEMU_VERSION = 1.0.10
+EVEMU_SITE = http://cgit.freedesktop.org/evemu/snapshot
+EVEMU_LICENSE = LGPLv3 (library), GPLv3 (tools)
+EVEMU_LICENSE_FILES = COPYING COPYING.GPL3
+
+# asciidoc used to generate manpages, which we don't need, and if it's
+# present on the build host, it ends getting called with our host-python
+# which doesn't have all the needed modules enabled, breaking the build
+EVEMU_CONF_ENV = ac_cv_path_ASCIIDOC=""
+
+# Uses PKG_CHECK_MODULES() in configure.ac
+EVEMU_DEPENDENCIES = host-pkgconf libevdev
+
+# Needs Python to generate a wrapper
+EVEMU_DEPENDENCIES += host-python
+
+# package source code coming from git, so it doesn't have generated
+# configure and Makefile.in
+EVEMU_AUTORECONF = YES
+
+$(eval $(autotools-package))