mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package: add libconfig package
This commit is contained in:
@@ -77,6 +77,7 @@ source "package/kexec/Config.in"
|
|||||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||||
source "package/less/Config.in"
|
source "package/less/Config.in"
|
||||||
endif
|
endif
|
||||||
|
source "package/libconfig/Config.in"
|
||||||
source "package/libdaemon/Config.in"
|
source "package/libdaemon/Config.in"
|
||||||
source "package/libelf/Config.in"
|
source "package/libelf/Config.in"
|
||||||
source "package/libevent/Config.in"
|
source "package/libevent/Config.in"
|
||||||
|
|||||||
9
package/libconfig/Config.in
Normal file
9
package/libconfig/Config.in
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
config BR2_PACKAGE_LIBCONFIG
|
||||||
|
bool "libconfig"
|
||||||
|
help
|
||||||
|
Libconfig is a simple library for manipulating structured
|
||||||
|
configuration files. The file format is more compact and more
|
||||||
|
readable than XML. And unlike XML, it is type-aware, so it is
|
||||||
|
not necessary to do string parsing in application code.
|
||||||
|
|
||||||
|
http://www.hyperrealm.com/libconfig/
|
||||||
20
package/libconfig/libconfig.mk
Normal file
20
package/libconfig/libconfig.mk
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# libconfig
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
LIBCONFIG_VERSION:=1.3
|
||||||
|
LIBCONFIG_SOURCE:=libconfig-$(LIBCONFIG_VERSION).tar.gz
|
||||||
|
LIBCONFIG_SITE:=http://www.hyperrealm.com/libconfig/
|
||||||
|
LIBCONFIG_AUTORECONF:=NO
|
||||||
|
LIBCONFIG_INSTALL_STAGING:=YES
|
||||||
|
LIBCONFIG_INSTALL_TARGET:=YES
|
||||||
|
LIBCONFIG_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install-strip
|
||||||
|
|
||||||
|
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||||
|
LIBCONFIG_CONF_OPT:=--disable-cxx
|
||||||
|
endif
|
||||||
|
|
||||||
|
LIBCONFIG_DEPENDENCIES = uclibc
|
||||||
|
|
||||||
|
$(eval $(call AUTOTARGETS,package,libconfig))
|
||||||
Reference in New Issue
Block a user