|
@ -8,22 +8,19 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=libyaml-cpp |
|
|
PKG_NAME:=libyaml-cpp |
|
|
|
|
|
PKG_VERSION:=0.6.2 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_MAINTAINER:= Steven Hessing <steven.hessing@gmail.com> |
|
|
PKG_MAINTAINER:= Steven Hessing <steven.hessing@gmail.com> |
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
|
|
|
PKG_SOURCE_URL:=https://github.com/jbeder/yaml-cpp/ |
|
|
|
|
|
PKG_SOURCE_DATA:=2017-11-01 |
|
|
|
|
|
PKG_SOURCE_VERSION:=beb44b872c07c74556314e730c6f20a00b32e8e5 |
|
|
|
|
|
PKG_MIRROR_HASH:=3ddb1f5a6c564f33fd164c0300df8048c689c319964a08386d869637a0f5c8e2 |
|
|
|
|
|
|
|
|
|
|
|
PKG_SOURCE_SUBDIR:=yaml-cpp |
|
|
|
|
|
|
|
|
PKG_SOURCE:=yaml-cpp-$(PKG_VERSION).tar.gz |
|
|
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/jbeder/yaml-cpp/tar.gz/yaml-cpp-$(PKG_VERSION)? |
|
|
|
|
|
PKG_HASH:=e4d8560e163c3d875fd5d9e5542b5fd5bec810febdcba61481fe5fc4e6b1fd05 |
|
|
|
|
|
|
|
|
PKG_LICENSE:=MIT |
|
|
PKG_LICENSE:=MIT |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_SUBDIR) |
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/yaml-cpp-yaml-cpp-$(PKG_VERSION) |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
|
|
|
|
|
|
CMAKE_INSTALL:=1 |
|
|
CMAKE_INSTALL:=1 |
|
@ -31,11 +28,14 @@ include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON |
|
|
CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON |
|
|
#CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=OFF
|
|
|
#CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=OFF
|
|
|
|
|
|
CMAKE_OPTIONS += -DYAML_CPP_BUILD_TESTS=OFF |
|
|
|
|
|
CMAKE_OPTIONS += -DYAML_CPP_BUILD_TOOLS=OFF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Package/libyaml-cpp |
|
|
define Package/libyaml-cpp |
|
|
SECTION:=development |
|
|
SECTION:=development |
|
|
CATEGORY:=Libraries |
|
|
CATEGORY:=Libraries |
|
|
TITLE:=libyaml-cpp |
|
|
|
|
|
|
|
|
TITLE:=libyaml-cpp |
|
|
URL:=https://github.com/jbeder/yaml-cpp |
|
|
URL:=https://github.com/jbeder/yaml-cpp |
|
|
DEPENDS:=+libstdcpp |
|
|
DEPENDS:=+libstdcpp |
|
|
endef |
|
|
endef |
|
@ -48,7 +48,7 @@ define Package/libyaml-cpp/install |
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
#$(INSTALL_DATA) $(PKG_BUILD_DIR)/libyaml-cpp.so.0.5.3 $(1)/usr/lib/ |
|
|
#$(INSTALL_DATA) $(PKG_BUILD_DIR)/libyaml-cpp.so.0.5.3 $(1)/usr/lib/ |
|
|
#$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.0.5.3 $(1)/usr/lib/ |
|
|
#$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.0.5.3 $(1)/usr/lib/ |
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.0.5 $(1)/usr/lib/ |
|
|
|
|
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.$(PKG_VERSION) $(1)/usr/lib/ |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libyaml-cpp)) |
|
|
$(eval $(call BuildPackage,libyaml-cpp)) |