All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v5 1/2] libubox: new package
@ 2014-03-20 22:17 Yegor Yefremov
  2014-03-20 22:17 ` [Buildroot] [PATCH v5 2/2] libuci: " Yegor Yefremov
  2014-03-23 20:21 ` [Buildroot] [PATCH v5 1/2] libubox: " Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Yegor Yefremov @ 2014-03-20 22:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
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

diff --git a/package/Config.in b/package/Config.in
index f9c1b0b..a2e859c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/libubox/Config.in b/package/libubox/Config.in
new file mode 100644
index 0000000..ba10f8d
--- /dev/null
+++ b/package/libubox/Config.in
@@ -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
diff --git a/package/libubox/libubox.mk b/package/libubox/libubox.mk
new file mode 100644
index 0000000..fe3f420
--- /dev/null
+++ b/package/libubox/libubox.mk
@@ -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))
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v5 2/2] libuci: new package
  2014-03-20 22:17 [Buildroot] [PATCH v5 1/2] libubox: new package Yegor Yefremov
@ 2014-03-20 22:17 ` Yegor Yefremov
  2014-03-23 21:33   ` Peter Korsgaard
  2014-03-23 20:21 ` [Buildroot] [PATCH v5 1/2] libubox: " Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Yegor Yefremov @ 2014-03-20 22:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
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

diff --git a/package/Config.in b/package/Config.in
index a2e859c..bc01d99 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/libuci/Config.in b/package/libuci/Config.in
new file mode 100644
index 0000000..219e790
--- /dev/null
+++ b/package/libuci/Config.in
@@ -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
diff --git a/package/libuci/libuci.mk b/package/libuci/libuci.mk
new file mode 100644
index 0000000..8036cd2
--- /dev/null
+++ b/package/libuci/libuci.mk
@@ -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))
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v5 1/2] libubox: new package
  2014-03-20 22:17 [Buildroot] [PATCH v5 1/2] libubox: new package Yegor Yefremov
  2014-03-20 22:17 ` [Buildroot] [PATCH v5 2/2] libuci: " Yegor Yefremov
@ 2014-03-23 20:21 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2014-03-23 20:21 UTC (permalink / raw)
  To: buildroot

>>>>> "Yegor" == Yegor Yefremov <yegorslists@googlemail.com> writes:

 > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
 > ---
 > 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

 > diff --git a/package/Config.in b/package/Config.in
 > index f9c1b0b..a2e859c 100644
 > --- a/package/Config.in
 > +++ b/package/Config.in
 > @@ -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"
 > diff --git a/package/libubox/Config.in b/package/libubox/Config.in
 > new file mode 100644
 > index 0000000..ba10f8d
 > --- /dev/null
 > +++ b/package/libubox/Config.in
 > @@ -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
 > diff --git a/package/libubox/libubox.mk b/package/libubox/libubox.mk
 > new file mode 100644
 > index 0000000..fe3f420
 > --- /dev/null
 > +++ b/package/libubox/libubox.mk
 > @@ -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

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.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v5 2/2] libuci: new package
  2014-03-20 22:17 ` [Buildroot] [PATCH v5 2/2] libuci: " Yegor Yefremov
@ 2014-03-23 21:33   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2014-03-23 21:33 UTC (permalink / raw)
  To: buildroot

>>>>> "Yegor" == Yegor Yefremov <yegorslists@googlemail.com> writes:

 > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
 > ---
 > Changes:
 > 	v5: description rework
 > 	v4: remove unneeded pkg-config macros
 > 	v3: add Lua support

Committed with similar minor fixes as for ubox, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-23 21:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-20 22:17 [Buildroot] [PATCH v5 1/2] libubox: new package Yegor Yefremov
2014-03-20 22:17 ` [Buildroot] [PATCH v5 2/2] libuci: " Yegor Yefremov
2014-03-23 21:33   ` Peter Korsgaard
2014-03-23 20:21 ` [Buildroot] [PATCH v5 1/2] libubox: " Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.