From 45930bc0edb160bd747bd7d29fb6f5803f316c7c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 17 Jun 2019 12:11:52 -0700 Subject: [PATCH] libmstch: Switch HOST to HOSTPKG HOST should be used by tools only, not for host packages. Other minor cleanups. Signed-off-by: Rosen Penev --- libs/libmstch/Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/libs/libmstch/Makefile b/libs/libmstch/Makefile index a5d128552c..bff939a4e5 100644 --- a/libs/libmstch/Makefile +++ b/libs/libmstch/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libmstch PKG_VERSION:=1.0.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/no1msd/mstch/tar.gz/$(PKG_VERSION)? @@ -10,36 +10,32 @@ PKG_HASH:=811ed61400d4e9d4f9ae0f7679a2ffd590f0b3c06b16f2798e1f89ab917cba6c PKG_BUILD_DIR:=$(BUILD_DIR)/mstch-$(PKG_VERSION) HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/mstch-$(PKG_VERSION) +PKG_MAINTAINER:=Amol Bhave PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE -HOST_BUILD_DEPENDS:=boost boost/host - -PKG_BUILD_DEPENDS:=boost +HOST_BUILD_DEPENDS:=boost/host +PKG_BUILD_PARALLEL:=1 +CMAKE_INSTALL:=1 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/cmake.mk -HOST_BUILD_PREFIX:=$(STAGING_DIR_HOST) - -PKG_BUILD_PARALLEL:=1 -CMAKE_INSTALL:=1 -CMAKE_OPTIONS:= \ - -DCMAKE_POSITION_INDEPENDENT_CODE=True - define Package/libmstch SECTION:=libs CATEGORY:=Libraries TITLE:=Complete implementation of {{mustache}} templates using modern C++ DEPENDS:=+boost +boost-container URL:=https://github.com/no1msd/mstch - MAINTAINER:=Amol Bhave endef define Package/libmstch/description mstch is a complete implementation of {{mustache}} templates using modern C++ endef +CMAKE_OPTIONS += \ + -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE + $(eval $(call BuildPackage,libmstch)) $(eval $(call HostBuild))