package: add libconfuse - A library for parsing configuration files
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 22 Sep 2008 08:11:05 +0000 (08:11 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 22 Sep 2008 08:11:05 +0000 (08:11 -0000)
package/Config.in
package/libconfuse/Config.in [new file with mode: 0644]
package/libconfuse/libconfuse.mk [new file with mode: 0644]

index d6babe344500fd926ef63558f23170062d22a06a..e55fe16f376d83f1efaca2431bb1666c4091c257 100644 (file)
@@ -78,6 +78,7 @@ if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 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"
diff --git a/package/libconfuse/Config.in b/package/libconfuse/Config.in
new file mode 100644 (file)
index 0000000..e123dab
--- /dev/null
@@ -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/
diff --git a/package/libconfuse/libconfuse.mk b/package/libconfuse/libconfuse.mk
new file mode 100644 (file)
index 0000000..f6220db
--- /dev/null
@@ -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))