package/libuio: new package
PATCH v4 1/1 package/libuio: new package
From: Joris Lijssens <[email protected]>
[Romain:
fix autoreconf issue by using GETTEXTIZE and AUTORECONF fix issue with missing makeinfo
move version number comment in .mk]
Signed-off-by Joris Lijssens <[email protected]>
Signed-off-by Romain Naour <[email protected]>
--- package/Config.in | 1 + .../0001-configure-remove-po-Makefile.in.patch | 26 +++++++++++++++++++++ package/libuio/Config.in | 8 +++++++ package/libuio/libuio.hash | 2 ++ package/libuio/libuio.mk | 27 ++++++++++++++++++++++ 5 files changed, 64 insertions(+) create mode 100644 package/libuio/0001-configure-remove-po-Makefile.in.patch create mode 100644 package/libuio/Config.in create mode 100644 package/libuio/libuio.hash create mode 100644 package/libuio/libuio.mk
package/Config.in +1 -0
@@ -410,6 +410,7 @@ endif source "package/iucode-tool/Config.in" source "package/kbd/Config.in" source "package/lcdproc/Config.in" + source "package/libuio/Config.in" source "package/libump/Config.in" source "package/linux-backports/Config.in" source "package/lirc-tools/Config.in"
package/libuio/0001-configure-remove-po-Makefile.in.patch new file +26 -0
@@ -0,0 +1,26 @@ +From c5fa0b778e1c2a7d03ff6e661bdfa2faef878f68 Mon Sep 17 00:00:00 2001 +From: Romain Naour <[email protected]> +Date: Fri, 1 Jul 2016 17:56:30 +0200 +Subject: [PATCH] configure: remove po/Makefile.in + +The file po/Makefile.in is automatically added to AC_OUTPUT while using gettexize + +Signed-off-by: Romain Naour <[email protected]> +--- + configure.ac | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index f7fb40f..a25e463 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -55,5 +55,4 @@ dnl last but not least + AC_OUTPUT([Makefile + libuio.dox + libuio-uninstalled.pc +- libuio.pc +- po/Makefile.in]) ++ libuio.pc]) +-- +2.5.5 +
package/libuio/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBUIO + bool "libuio" + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + help + libuio is a light-weight C programming library to handle UIO + (Userspace I/O) device discovery and binding task. + + http://github.com/Linutronix/libuio
package/libuio/libuio.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 57f9617f75d20f7912b270568cffdf098fe9d0c1ca690c002e949be8424aa4e6 libuio-940861de278cb794bf9d775b76a4d1d4f9108607.tar.gz
package/libuio/libuio.mk new file +27 -0
@@ -0,0 +1,27 @@ +################################################################################ +# +# libuio +# +################################################################################ + +# v0.2.7 +LIBUIO_VERSION = 940861de278cb794bf9d775b76a4d1d4f9108607 +LIBUIO_SITE = $(call github,Linutronix,libuio,$(LIBUIO_VERSION)) +LIBUIO_LICENSE = LGPLv2.1 +LIBUIO_LICENSE_FILES = COPYING +LIBUIO_CONF_OPTS = --with-glib=no +LIBUIO_INSTALL_STAGING = YES + +# Fetched from github, no pre-generated configure script provided +LIBUIO_GETTEXTIZE = YES +LIBUIO_AUTORECONF = YES + +# Avoid build issue when makeinfo is missing +LIBUIO_CONF_ENV += MAKEINFO=true + +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +LIBUIO_DEPENDENCIES += argp-standalone +LIBUIO_CONF_ENV += LIBS="-largp" +endif + +$(eval $(autotools-package))
Signature · 1 line
2.5.5
PATCH v4 1/1 package/libuio: new package
Hello,
package/libuio/libuio.mk line 10
Quoted 4 lines · Romain Naour
package/libuio/libuio.mk new file +4
-0+# v0.2.7 +LIBUIO_VERSION = 940861de278cb794bf9d775b76a4d1d4f9108607 +LIBUIO_SITE = $(call github,Linutronix,libuio,$(LIBUIO_VERSION)) +LIBUIO_LICENSE = LGPLv2.1
The library is under LGPLv2.1 indeed, but there are also two programs that are installed, which are under GPLv2, so I've adjusted this line and applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com