summaryrefslogtreecommitdiffstats
path: root/package/libconfig/libconfig.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libconfig/libconfig.mk')
-rw-r--r--package/libconfig/libconfig.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libconfig/libconfig.mk b/package/libconfig/libconfig.mk
new file mode 100644
index 000000000..8e7ef0b5c
--- /dev/null
+++ b/package/libconfig/libconfig.mk
@@ -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))