Ticket #10640: Makefile.4

File Makefile.4, 1.4 KB (added by fvdpol@…, 5 years ago)

Updated makefile for zeromq version 3.2.2

Line 
1# Copyright (C) [2011-2012] [TheClashingRocks.org]
2#
3# Author: Jiva Nath Bagale <jnbagale@gmail.com>
4#
5#
6# This is free software, licensed under the GNU General Public License v2.
7# See /LICENSE for more information.
8#
9#
10include $(TOPDIR)/rules.mk
11
12PKG_NAME:=zeromq
13#PKG_VERSION:=2.1.10
14PKG_VERSION:=3.2.2
15
16PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17PKG_SOURCE_URL:=http://download.zeromq.org/
18
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/zeromq
24    MAINTAINER:=jnbagale@gmail.com
25    TITLE:=zeromq
26    SECTION:=libs
27    DEPENDS:=+libuuid +libpthread +librt +libstdcpp
28    CATEGORY:=Libraries
29    URL:=http://www.zeromq.org/
30endef
31
32define Package/zeromq/description
33    The library provides light weight messaging services using an intelligent transport layer.
34    It can carry messages across inproc, IPC, TCP and multicast and is faster than TCP for
35    clustered products and supercomputing.
36endef
37
38
39define Build/InstallDev
40        $(INSTALL_DIR) \
41                $(1)/usr/lib    \
42                $(1)/usr/include \
43                $(1)/usr/lib/pkgconfig
44        $(CP) \
45                $(PKG_INSTALL_DIR)/usr/lib/* \
46                $(1)/usr/lib/
47        $(CP) \
48                $(PKG_INSTALL_DIR)/usr/include/* \
49                $(1)/usr/include/
50        $(CP) \
51                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig \
52                $(1)/usr/lib/
53
54endef
55
56define Package/zeromq/install
57        $(INSTALL_DIR) \
58                $(1)/usr/lib
59        $(CP) \
60                $(PKG_INSTALL_DIR)/usr/lib/* \
61                $(1)/usr/lib/
62
63endef
64
65$(eval $(call BuildPackage,zeromq))