Skip to contentSkip to conversation

libuio: new package

PATCH Superseded Joris Lijssens 2 participants 2 messages Jun 17, 2016

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 libuio: new package

---
 package/Config.in          |  1 +
 package/libuio/Config.in   |  8 ++++++++
 package/libuio/libuio.hash |  2 ++
 package/libuio/libuio.mk   | 28 ++++++++++++++++++++++++++++
 4 files changed, 39 insertions(+)
 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
index 3d93951..4c145b5 100644
@@ -404,6 +404,7 @@ endif
 	source "package/kbd/Config.in"
 	source "package/lcdproc/Config.in"
 	source "package/libump/Config.in"
+	source "package/libuio/Config.in"
 	source "package/linux-backports/Config.in"
 	source "package/lirc-tools/Config.in"
 	source "package/lm-sensors/Config.in"
package/libuio/Config.in new file +8 -0
new file mode 100644
index 0000000..97be1e3
@@ -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
new file mode 100644
index 0000000..6afe7de
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 57f9617f75d20f7912b270568cffdf098fe9d0c1ca690c002e949be8424aa4e6 libuio-940861de278cb794bf9d775b76a4d1d4f9108607.tar.gz
package/libuio/libuio.mk new file +28 -0
new file mode 100644
index 0000000..c5c5d25
@@ -0,0 +1,28 @@
+################################################################################
+#
+# libuio
+#
+################################################################################
+
+LIBUIO_VERSION = 940861de278cb794bf9d775b76a4d1d4f9108607# v0.2.7
+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
+# AUTORECONF doesn't seem to work
+LIBUIO_DEPENDENCIES = host-pkgconf host-gettext host-libtool \
+		      host-automake host-autoconf
+
+ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
+LIBUIO_DEPENDENCIES += argp-standalone
+LIBUIO_CONF_ENV += LIBS="-largp"
+endif
+
+define LIBUIO_RUN_AUTOGEN
+	cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+
+LIBUIO_PRE_CONFIGURE_HOOKS += LIBUIO_RUN_AUTOGEN
+
+$(eval $(autotools-package))
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH v2 1/1 libuio: new package

Hello Joris,

Quoted 16 lines · Joris Lijssens
---
 package/Config.in          |  1 +
 package/libuio/Config.in   |  8 ++++++++
 package/libuio/libuio.hash |  2 ++
 package/libuio/libuio.mk   | 28 ++++++++++++++++++++++++++++
 4 files changed, 39 insertions(+)
 create mode 100644 package/libuio/Config.in
 create mode 100644 package/libuio/libuio.hash
 create mode 100644 package/libuio/libuio.mk
package/Config.in +0 -0
index 3d93951..4c145b5 100644

package/Config.in endif · line 407

Quoted 4 lines
package/Config.in +1 -0
@@ -404,6 +404,7 @@ endif
 	source "package/kbd/Config.in"
 	source "package/lcdproc/Config.in"
 	source "package/libump/Config.in"
+	source "package/libuio/Config.in"

alphabetically, libuio comes before libump.

Regards,

Vincent.