[OpenWrt-Devel] [PATCH 1/2] confuse: new host package

yegorslists at googlemail.com yegorslists at googlemail.com
Fri Mar 24 04:50:15 EDT 2017


From: Yegor Yefremov <yegorslists at googlemail.com>

This library is a dependency of genimage.

Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
---
 tools/confuse/Makefile | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 tools/confuse/Makefile

diff --git a/tools/confuse/Makefile b/tools/confuse/Makefile
new file mode 100644
index 0000000..01a0be6
--- /dev/null
+++ b/tools/confuse/Makefile
@@ -0,0 +1,35 @@
+#
+# Copyright (C) 2017 Yegor Yefremov <yegorslists at googlemail.com>
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=confuse
+PKG_VERSION:=3.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=https://github.com/martinh/libconfuse/releases/download/v$(PKG_VERSION)
+PKG_HASH:=bb75174e02aa8b44fa1a872a47beeea1f5fe715ab669694c97803eb6127cc861
+
+PKG_FIXUP:=autoreconf
+HOST_BUILD_PARALLEL:=1
+
+include $(INCLUDE_DIR)/host-build.mk
+
+HOST_CONFIGURE_ARGS += \
+	--enable-shared=no \
+	--enable-static=yes \
+	--disable-rpath \
+	--without-libiconv-prefix \
+	--without-libintl-prefix \
+	--disable-examples
+
+define Host/Install
+	+$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) install
+endef
+
+$(eval $(call HostBuild))
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list