libubox: new package
PATCH v5 1/2 libubox: new package
---
Changes:
v5: description rework
v4: remove unneeded pkg-config macros
v3: add Lua support
v2: make package description more informative and fix license information
package/Config.in | 1 + package/libubox/Config.in | 9 +++++++++ package/libubox/libubox.mk | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 package/libubox/Config.in create mode 100644 package/libubox/libubox.mk
package/Config.in +1 -0
@@ -784,6 +784,7 @@ source "package/libsigc/Config.in" source "package/libsigsegv/Config.in" source "package/libtasn1/Config.in" source "package/libtpl/Config.in" +source "package/libubox/Config.in" source "package/libunwind/Config.in" source "package/liburcu/Config.in" source "package/linux-pam/Config.in"
package/libubox/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBUBOX + bool "libubox" + help + This library originates from the OpenWrt project to + handle the configuration file infrastructure, but can + also be used for the same purposes in projects other + than OpenWrt. + + http://nbd.name/gitweb.cgi?p=luci2/libubox.git;a=summary
package/libubox/libubox.mk new file +18 -0
@@ -0,0 +1,18 @@ +################################################################################ +# +# libubox +# +################################################################################ + +LIBUBOX_VERSION = bbd846ec2d72b2629758b69dc122ac0b0f2c3e4b +LIBUBOX_SITE = git://nbd.name/luci2/libubox.git +LIBUBOX_LICENSE = LGPLv2.1, GPLv2, BSD-3c, MIT +LIBUBOX_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_LUA),y) + LIBUBOX_DEPENDENCIES = lua +else + LIBUBOX_CONF_OPT = -DBUILD_LUA:BOOL=OFF +endif + +$(eval $(cmake-package))
Signature · 1 line
1.8.3.2
PATCH v5 2/2 libuci: new package
---
Changes:
v5: description rework
v4: remove unneeded pkg-config macros
v3: add Lua support
package/Config.in | 1 + package/libuci/Config.in | 12 ++++++++++++ package/libuci/libuci.mk | 19 +++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 package/libuci/Config.in create mode 100644 package/libuci/libuci.mk
package/Config.in +1 -0
@@ -785,6 +785,7 @@ source "package/libsigsegv/Config.in" source "package/libtasn1/Config.in" source "package/libtpl/Config.in" source "package/libubox/Config.in" +source "package/libuci/Config.in" source "package/libunwind/Config.in" source "package/liburcu/Config.in" source "package/linux-pam/Config.in"
package/libuci/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBUCI + bool "libuci" + select BR2_PACKAGE_LIBUBOX + help + This library originates from the OpenWrt project to + handle the configuration file infrastructure, but can + also be used for the same purposes in projects other + than OpenWrt. + + This package will also install CLI tool uci. + + http://wiki.openwrt.org/doc/techref/uci
package/libuci/libuci.mk new file +19 -0
@@ -0,0 +1,19 @@ +################################################################################ +# +# libuci +# +################################################################################ + +LIBUCI_VERSION = 262fede3e8c8c08c1eb0d1be9bf102232fb86cb9 +LIBUCI_SITE = git://nbd.name/uci.git +LIBUCI_LICENSE = LGPLv2.1 +LIBUCI_INSTALL_STAGING = YES +LIBUCI_DEPENDENCIES = libubox + +ifeq ($(BR2_PACKAGE_LUA),y) + LIBUCI_DEPENDENCIES += lua +else + LIBUCI_CONF_OPT = -DBUILD_LUA:BOOL=OFF +endif + +$(eval $(cmake-package))
Signature · 1 line
1.8.3.2
PATCH v5 2/2 libuci: new package
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yegor" == Yegor Yefremov <[email protected]> writes:
Signed-off-by Yegor Yefremov <[email protected]>---
Changes:
v5: description rework
v4: remove unneeded pkg-config macros
v3: add Lua support
Committed with similar minor fixes as for ubox, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v5 1/2 libubox: new package
In reply to Yegor YefremovQuoted 55 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yegor" == Yegor Yefremov <[email protected]> writes:
Signed-off-by Yegor Yefremov <[email protected]>---
Changes:
v5: description rework
v4: remove unneeded pkg-config macros
v3: add Lua support
v2: make package description more informative and fix license informationpackage/Config.in | 1 + package/libubox/Config.in | 9 +++++++++ package/libubox/libubox.mk | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 package/libubox/Config.in create mode 100644 package/libubox/libubox.mkpackage/Config.in +1
-0@@ -784,6 +784,7 @@ source "package/libsigc/Config.in" source "package/libsigsegv/Config.in" source "package/libtasn1/Config.in" source "package/libtpl/Config.in" +source "package/libubox/Config.in" source "package/libunwind/Config.in" source "package/liburcu/Config.in" source "package/linux-pam/Config.in"package/libubox/Config.in new file +9
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBUBOX + bool "libubox" + help + This library originates from the OpenWrt project to + handle the configuration file infrastructure, but can + also be used for the same purposes in projects other + than OpenWrt. + + http://nbd.name/gitweb.cgi?p=luci2/libubox.git;a=summarypackage/libubox/libubox.mk new file +5
-0@@ -0,0 +1,18 @@ +################################################################################ +# +# libubox +# +################################################################################
package/libubox/libubox.mk line 15
Quoted 10 lines
package/libubox/libubox.mk new file +10
-0+ +LIBUBOX_VERSION = bbd846ec2d72b2629758b69dc122ac0b0f2c3e4b +LIBUBOX_SITE = git://nbd.name/luci2/libubox.git +LIBUBOX_LICENSE = LGPLv2.1, GPLv2, BSD-3c, MIT +LIBUBOX_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_LUA),y) + LIBUBOX_DEPENDENCIES = lua +else + LIBUBOX_CONF_OPT = -DBUILD_LUA:BOOL=OFF
It would be nicer to use += in case this ever gets extended.
I see that it unconditionally creates a .so, so it needs to depend on !BR2_PREFER_STATIC_LIB.
Committed with those fixes, thanks.
Signature · 1 line
Bye, Peter Korsgaard