Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: libconfuse

Buildroot jacmet at uclibc.org 2 participants 5 messages Sep 22, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-09-22 01:11:05 -0700 (Mon, 22 Sep 2008) New Revision: 23452

Log:
package: add libconfuse - A library for parsing configuration files

Added:
trunk/buildroot/package/libconfuse/ trunk/buildroot/package/libconfuse/Config.in trunk/buildroot/package/libconfuse/libconfuse.mk

Modified:
trunk/buildroot/package/Config.in

Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================

buildroot/package/Config.in +1 -0
@@ -78,6 +78,7 @@
 source "package/less/Config.in"
 endif
 source "package/libconfig/Config.in"
+source "package/libconfuse/Config.in"
 source "package/libdaemon/Config.in"
 source "package/libelf/Config.in"
 source "package/libevent/Config.in"

Added: trunk/buildroot/package/libconfuse/Config.in
===================================================================

buildroot/package/libconfuse/Config.in +11 -0
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBCONFUSE
+	bool "libconfuse"
+	help
+	  LibConfuse is a configuration file parser library written in
+	  C. It supports sections and (lists of) values (strings,
+	  integers, floats, booleans or other sections), as well as some
+	  other features (such as single/double-quoted strings,
+	  environment variable expansion, functions and nested include
+	  statements.
+
+	  http://www.nongnu.org/confuse/

Added: trunk/buildroot/package/libconfuse/libconfuse.mk
===================================================================

buildroot/package/libconfuse/libconfuse.mk +18 -0
@@ -0,0 +1,18 @@
+#############################################################
+#
+# libconfuse
+#
+#############################################################
+LIBCONFUSE_VERSION:=2.6
+LIBCONFUSE_SOURCE:=confuse-$(LIBCONFUSE_VERSION).tar.gz
+LIBCONFUSE_SITE:=http://bzero.se/confuse/
+LIBCONFUSE_AUTORECONF:=NO
+LIBCONFUSE_INSTALL_STAGING:=YES
+LIBCONFUSE_INSTALL_TARGET:=YES
+LIBCONFUSE_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install-strip
+
+LIBCONFUSE_CONF_OPT:=--enable-shared --disable-rpath $(DISABLE_NLS)
+
+LIBCONFUSE_DEPENDENCIES = uclibc
+
+$(eval $(call AUTOTARGETS,package,libconfuse))
#1 lore raw

jacmet at uclibc.org wrote:

<snipp>

Quoted 6 lines

Added: trunk/buildroot/package/libconfuse/libconfuse.mk
===================================================================

buildroot/package/libconfuse/libconfuse.mk +1 -0
@@ -0,0 +1,18 @@
+#############################################################

buildroot/package/libconfuse/libconfuse.mk line 11

Quoted 10 lines
buildroot/package/libconfuse/libconfuse.mk +10 -0
+#
+# libconfuse
+#
+#############################################################
+LIBCONFUSE_VERSION:=2.6
+LIBCONFUSE_SOURCE:=confuse-$(LIBCONFUSE_VERSION).tar.gz
+LIBCONFUSE_SITE:=http://bzero.se/confuse/
+LIBCONFUSE_AUTORECONF:=NO
+LIBCONFUSE_INSTALL_STAGING:=YES
+LIBCONFUSE_INSTALL_TARGET:=YES

Can be dropped, this is default.

buildroot/package/libconfuse/libconfuse.mk line 16

Quoted 5 lines
buildroot/package/libconfuse/libconfuse.mk +5 -0
+LIBCONFUSE_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install-strip
+
+LIBCONFUSE_CONF_OPT:=--enable-shared --disable-rpath $(DISABLE_NLS)
+
+LIBCONFUSE_DEPENDENCIES = uclibc

Can be dropped, this is default.

buildroot/package/libconfuse/libconfuse.mk line 18

Quoted 3 lines
buildroot/package/libconfuse/libconfuse.mk +2 -0
+
+$(eval $(call AUTOTARGETS,package,libconfuse))

<snipp>

Signature · 1 line
HC
#2 lore raw
Quoted 8 lines

buildroot/package/libconfuse/libconfuse.mk line 11

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Hans-Christian" == Hans-Christian Egtvedt <[email protected]> writes:

buildroot/package/libconfuse/libconfuse.mk +6 -0
+LIBCONFUSE_VERSION:=2.6
+LIBCONFUSE_SOURCE:=confuse-$(LIBCONFUSE_VERSION).tar.gz
+LIBCONFUSE_SITE:=http://bzero.se/confuse/
+LIBCONFUSE_AUTORECONF:=NO
+LIBCONFUSE_INSTALL_STAGING:=YES
+LIBCONFUSE_INSTALL_TARGET:=YES

Hans-Christian> Can be dropped, this is default.

True. I left it in purely for documentation purposes (E.G. you then don't need to go lookup what the defaults are).

I can remove it if you feel strongly about it.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw
Quoted 11 lines · Peter Korsgaard
Quoted 8 lines

buildroot/package/libconfuse/libconfuse.mk line 11

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Hans-Christian" == Hans-Christian Egtvedt <[email protected]> writes:

buildroot/package/libconfuse/libconfuse.mk +6 -0
+LIBCONFUSE_VERSION:=2.6
+LIBCONFUSE_SOURCE:=confuse-$(LIBCONFUSE_VERSION).tar.gz
+LIBCONFUSE_SITE:=http://bzero.se/confuse/
+LIBCONFUSE_AUTORECONF:=NO
+LIBCONFUSE_INSTALL_STAGING:=YES
+LIBCONFUSE_INSTALL_TARGET:=YES

Hans-Christian> Can be dropped, this is default.

Quoted 5 lines

True. I left it in purely for documentation purposes (E.G. you then don't need to go lookup what the defaults are).

I can remove it if you feel strongly about it.

It is more what the norm is for Buildroot. Should we keep the DEPENDENCIES in even if it is just uClibc? There is nothing specific about this in the Makefile.autotools.in, so perhaps we can have a short discussion here to settle it once and for all?

IMHO it is fine to keep it in, but the makefile looks more tidy the less there is in it. Perhaps better to add some documentation to Makefile.autotools.in about _DEPENDENCIES that uclibc is default.

Signature · 1 line
HC
#4 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Hans-Christian" == Hans-Christian Egtvedt <[email protected]> writes:

Hi,

Hans-Christian> It is more what the norm is for Buildroot. Should we Hans-Christian> keep the DEPENDENCIES in even if it is just uClibc? Hans-Christian> There is nothing specific about this in the Hans-Christian> Makefile.autotools.in, so perhaps we can have a short Hans-Christian> discussion here to settle it once and for all?

I wouldn't mind dropping the uclibc dependencies, but the INSTALL_{TARGET,STAGING} defaults are probably a bit too hard for people to remember/understand.

Hans-Christian> IMHO it is fine to keep it in, but the makefile looks Hans-Christian> more tidy the less there is in it. Perhaps better to Hans-Christian> add some documentation to Makefile.autotools.in about Hans-Christian> _DEPENDENCIES that uclibc is default.

Yeah, that would be good.

Signature · 1 line
Bye, Peter Korsgaard