Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package:  libconfuse
@ 2008-09-22  8:11 jacmet at uclibc.org
  2008-09-22 10:49 ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 5+ messages in thread
From: jacmet at uclibc.org @ 2008-09-22  8:11 UTC (permalink / raw)
  To: buildroot

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
===================================================================
--- trunk/buildroot/package/Config.in	2008-09-22 08:11:02 UTC (rev 23451)
+++ trunk/buildroot/package/Config.in	2008-09-22 08:11:05 UTC (rev 23452)
@@ -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
===================================================================
--- trunk/buildroot/package/libconfuse/Config.in	                        (rev 0)
+++ trunk/buildroot/package/libconfuse/Config.in	2008-09-22 08:11:05 UTC (rev 23452)
@@ -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
===================================================================
--- trunk/buildroot/package/libconfuse/libconfuse.mk	                        (rev 0)
+++ trunk/buildroot/package/libconfuse/libconfuse.mk	2008-09-22 08:11:05 UTC (rev 23452)
@@ -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))

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

* [Buildroot] svn commit: trunk/buildroot/package:  libconfuse
  2008-09-22  8:11 [Buildroot] svn commit: trunk/buildroot/package: libconfuse jacmet at uclibc.org
@ 2008-09-22 10:49 ` Hans-Christian Egtvedt
  2008-09-22 11:44   ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Hans-Christian Egtvedt @ 2008-09-22 10:49 UTC (permalink / raw)
  To: buildroot

jacmet at uclibc.org wrote:

<snipp>

> Added: trunk/buildroot/package/libconfuse/libconfuse.mk
> ===================================================================
> --- trunk/buildroot/package/libconfuse/libconfuse.mk	                        (rev 0)
> +++ trunk/buildroot/package/libconfuse/libconfuse.mk	2008-09-22 08:11:05 UTC (rev 23452)
> @@ -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

Can be dropped, this is default.

> +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.

> +
> +$(eval $(call AUTOTARGETS,package,libconfuse))
> 

<snipp>

-- 
HC

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

* [Buildroot] svn commit: trunk/buildroot/package:  libconfuse
  2008-09-22 10:49 ` Hans-Christian Egtvedt
@ 2008-09-22 11:44   ` Peter Korsgaard
  2008-09-22 11:47     ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2008-09-22 11:44 UTC (permalink / raw)
  To: buildroot

>>>>> "Hans-Christian" == Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> writes:

 >> +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.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/package:  libconfuse
  2008-09-22 11:44   ` Peter Korsgaard
@ 2008-09-22 11:47     ` Hans-Christian Egtvedt
  2008-09-22 15:15       ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Hans-Christian Egtvedt @ 2008-09-22 11:47 UTC (permalink / raw)
  To: buildroot

Peter Korsgaard wrote:
>>>>>> "Hans-Christian" == Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> writes:
> 
>  >> +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.
> 

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.

-- 
HC

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

* [Buildroot] svn commit: trunk/buildroot/package:  libconfuse
  2008-09-22 11:47     ` Hans-Christian Egtvedt
@ 2008-09-22 15:15       ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2008-09-22 15:15 UTC (permalink / raw)
  To: buildroot

>>>>> "Hans-Christian" == Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> 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.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2008-09-22 15:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22  8:11 [Buildroot] svn commit: trunk/buildroot/package: libconfuse jacmet at uclibc.org
2008-09-22 10:49 ` Hans-Christian Egtvedt
2008-09-22 11:44   ` Peter Korsgaard
2008-09-22 11:47     ` Hans-Christian Egtvedt
2008-09-22 15:15       ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox