Browse Source

Merge pull request #6647 from neheb/patch-19

libyaml-cpp: Update to 0.6.2 + switch to codeload
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
caf181f896
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      libs/libyaml-cpp/Makefile

+ 10
- 10
libs/libyaml-cpp/Makefile View File

@ -8,22 +8,19 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libyaml-cpp
PKG_VERSION:=0.6.2
PKG_RELEASE:=1
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_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
CMAKE_INSTALL:=1
@ -31,11 +28,14 @@ include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON
#CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=OFF
CMAKE_OPTIONS += -DYAML_CPP_BUILD_TESTS=OFF
CMAKE_OPTIONS += -DYAML_CPP_BUILD_TOOLS=OFF
define Package/libyaml-cpp
SECTION:=development
CATEGORY:=Libraries
TITLE:=libyaml-cpp
TITLE:=libyaml-cpp
URL:=https://github.com/jbeder/yaml-cpp
DEPENDS:=+libstdcpp
endef
@ -48,7 +48,7 @@ define Package/libyaml-cpp/install
$(INSTALL_DIR) $(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 $(1)/usr/lib/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.$(PKG_VERSION) $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libyaml-cpp))

Loading…
Cancel
Save