0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +08:00

Problem: OpenWRT Makefile still uses tarballs, now using GIT HEAD master

This commit is contained in:
Benjamin Henrion 2016-01-15 11:19:24 +01:00
parent d8941f599a
commit e19454e388

View File

@ -10,10 +10,14 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=zeromq PKG_NAME:=zeromq
PKG_VERSION:=3.2.2 PKG_VERSION:=master
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/zeromq/libzmq.git
PKG_SOURCE:=$(PKG_NAME).tar.gz
PKG_SOURCE_VERSION:=HEAD
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_SOURCE_URL:=http://download.zeromq.org/
PKG_INSTALL:=1 PKG_INSTALL:=1
@ -23,7 +27,7 @@ define Package/zeromq
MAINTAINER:=victor@iso3103.net MAINTAINER:=victor@iso3103.net
TITLE:=zeromq TITLE:=zeromq
SECTION:=libs SECTION:=libs
DEPENDS:=+libstdcpp +libpthread +librt DEPENDS:=+libstdcpp +libpthread +librt +libsodium
CATEGORY:=Libraries CATEGORY:=Libraries
URL:=http://www.zeromq.org/ URL:=http://www.zeromq.org/
endef endef
@ -34,6 +38,12 @@ define Package/zeromq/description
clustered products and supercomputing. clustered products and supercomputing.
endef endef
define Build/Configure
( cd $(PKG_BUILD_DIR); ./autogen.sh );
$(call Build/Configure/Default)
endef
TARGET_CPPFLAGS:=$(filter-out -Werror, $(TARGET_CFLAGS))
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) \ $(INSTALL_DIR) \
@ -58,4 +68,3 @@ define Package/zeromq/install
endef endef
$(eval $(call BuildPackage,zeromq)) $(eval $(call BuildPackage,zeromq))