Commit e19454e3 authored by Benjamin Henrion's avatar Benjamin Henrion

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

parent d8941f59
...@@ -10,10 +10,14 @@ ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -58,4 +68,3 @@ define Package/zeromq/install
endef endef
$(eval $(call BuildPackage,zeromq)) $(eval $(call BuildPackage,zeromq))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment