diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-09-27 08:20:03 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-09-27 09:23:59 +0200 |
commit | 1c4539ead03660be813a5a11d4a438c2f7d3606d (patch) | |
tree | db5243878b5dfef529efa7df3c669beeeec55387 /rules/libinput.make | |
parent | a929a1bef0812e0cb30176be617e28cdd5b65daf (diff) | |
download | ptxdist-1c4539ead03660be813a5a11d4a438c2f7d3606d.tar.gz ptxdist-1c4539ead03660be813a5a11d4a438c2f7d3606d.tar.xz |
libinput: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libinput.make')
-rw-r--r-- | rules/libinput.make | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/rules/libinput.make b/rules/libinput.make new file mode 100644 index 000000000..89547b18d --- /dev/null +++ b/rules/libinput.make @@ -0,0 +1,63 @@ +# -*-makefile-*- +# +# Copyright (C) 2014 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LIBINPUT) += libinput + +# +# Paths and names +# +LIBINPUT_VERSION := 0.6.0 +LIBINPUT_MD5 := 3afaf9f66d8796323a79edb879c10ba3 +LIBINPUT := libinput-$(LIBINPUT_VERSION) +LIBINPUT_SUFFIX := tar.xz +LIBINPUT_URL := http://www.freedesktop.org/software/libinput/$(LIBINPUT).$(LIBINPUT_SUFFIX) +LIBINPUT_SOURCE := $(SRCDIR)/$(LIBINPUT).$(LIBINPUT_SUFFIX) +LIBINPUT_DIR := $(BUILDDIR)/$(LIBINPUT) +LIBINPUT_LICENSE := unknown + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBINPUT_CONF_ENV := \ + $(CROSS_ENV) \ + ac_cv_path_DOXYGEN= +# +# autoconf +# +LIBINPUT_CONF_TOOL := autoconf +LIBINPUT_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-event-gui \ + --disable-tests + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libinput.targetinstall: + @$(call targetinfo) + + @$(call install_init, libinput) + @$(call install_fixup, libinput,PRIORITY,optional) + @$(call install_fixup, libinput,SECTION,base) + @$(call install_fixup, libinput,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>") + @$(call install_fixup, libinput,DESCRIPTION,missing) + + @$(call install_lib, libinput, 0, 0, 0644, libinput) + + @$(call install_finish, libinput) + + @$(call touch) + +# vim: syntax=make |