Merge pull request #12217 from jefferyto/measurement-kit-static-depends
measurement-kit: Add static build dependencies
This commit is contained in:
commit
64926ff607
1 changed files with 17 additions and 2 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=measurement-kit
|
PKG_NAME:=measurement-kit
|
||||||
PKG_VERSION:=0.10.11
|
PKG_VERSION:=0.10.11
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/measurement-kit/measurement-kit/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/measurement-kit/measurement-kit/tar.gz/v$(PKG_VERSION)?
|
||||||
|
@ -21,8 +21,11 @@ PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
PKG_BUILD_DEPENDS:=curl libevent2 libmaxminddb openssl
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
|
PKG_CONFIG_DEPENDS:=MEASUREMENT_KIT_BUILD_DEPENDS
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/measurement-kit
|
define Package/measurement-kit
|
||||||
|
@ -30,13 +33,25 @@ define Package/measurement-kit
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
TITLE:=library for open network measurement
|
TITLE:=library for open network measurement
|
||||||
URL:=https://measurement-kit.github.io/
|
URL:=https://measurement-kit.github.io/
|
||||||
DEPENDS:=+libstdcpp +libcurl +libevent2-pthreads +libevent2-extra +libevent2-openssl +libevent2-core +libmaxminddb +ca-bundle
|
DEPENDS:=+libstdcpp +libcurl +libevent2-pthreads +libevent2-extra +libevent2-openssl +libevent2-core +libmaxminddb +libopenssl +ca-bundle
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/measurement-kit/description
|
define Package/measurement-kit/description
|
||||||
Measurement Kit is a C++14 library that implements open network measurement methodologies (performance, censorship, etc.)
|
Measurement Kit is a C++14 library that implements open network measurement methodologies (performance, censorship, etc.)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/measurement-kit/config
|
||||||
|
config MEASUREMENT_KIT_BUILD_DEPENDS
|
||||||
|
bool
|
||||||
|
default PACKAGE_measurement-kit
|
||||||
|
|
||||||
|
config MEASUREMENT_KIT_BUILD_SELECT
|
||||||
|
tristate
|
||||||
|
default m if MEASUREMENT_KIT_BUILD_DEPENDS
|
||||||
|
select PACKAGE_libevent2-openssl
|
||||||
|
select PACKAGE_libevent2-pthreads
|
||||||
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS+= --with-ca-bundle=/etc/ssl/cert.pem
|
CONFIGURE_ARGS+= --with-ca-bundle=/etc/ssl/cert.pem
|
||||||
|
|
||||||
TARGET_CFLAGS += $(if $(CONFIG_USE_UCLIBC),-DCATCH_CONFIG_GLOBAL_NEXTAFTER)
|
TARGET_CFLAGS += $(if $(CONFIG_USE_UCLIBC),-DCATCH_CONFIG_GLOBAL_NEXTAFTER)
|
||||||
|
|
Loading…
Reference in a new issue