|
@ -1,26 +1,25 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=libwangle |
|
|
PKG_NAME:=libwangle |
|
|
PKG_VERSION:=2019.05.27.00 |
|
|
|
|
|
|
|
|
PKG_VERSION:=2019.06.10.00 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/facebook/wangle/tar.gz/v$(PKG_VERSION)? |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/facebook/wangle/tar.gz/v$(PKG_VERSION)? |
|
|
PKG_HASH:=935d94658133279d98de27ab7c78801c87f16414b8eec43766798acc5b14f549 |
|
|
|
|
|
|
|
|
PKG_HASH:=3721c003aa5fce889699b0301705eced7a0ea4ab2e7e12af543dab3493ba8be9 |
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/wangle-$(PKG_VERSION) |
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/wangle-$(PKG_VERSION) |
|
|
|
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com> |
|
|
PKG_LICENSE:=Apache-2.0 |
|
|
PKG_LICENSE:=Apache-2.0 |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
|
|
|
|
|
|
|
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
CMAKE_SOURCE_SUBDIR:=wangle |
|
|
CMAKE_SOURCE_SUBDIR:=wangle |
|
|
CMAKE_OPTIONS:= \
|
|
|
|
|
|
-DBUILD_SHARED_LIBS=ON |
|
|
|
|
|
CMAKE_INSTALL:=1 |
|
|
CMAKE_INSTALL:=1 |
|
|
|
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
|
|
|
|
|
|
define Package/libwangle |
|
|
define Package/libwangle |
|
|
SECTION:=libs |
|
|
SECTION:=libs |
|
|
CATEGORY:=Libraries |
|
|
CATEGORY:=Libraries |
|
@ -33,6 +32,9 @@ define Package/libwangle/description |
|
|
This package includes the shared library. |
|
|
This package includes the shared library. |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
CMAKE_OPTIONS:= \
|
|
|
|
|
|
-DBUILD_SHARED_LIBS=ON |
|
|
|
|
|
|
|
|
define Package/libwangle/install |
|
|
define Package/libwangle/install |
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libwangle.so* $(1)/usr/lib/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libwangle.so* $(1)/usr/lib/ |
|
|