Merge pull request #16078 from ja-pa/fix-email
[feed/packages.git] / libs / ibrcommon / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ibrcommon
11 PKG_VERSION:=1.0.1
12 PKG_RELEASE:=9
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
16 PKG_HASH:=9c457c1ebc01e6216524636628c647bef34ab11bd96f0e0788be8749374fdc20
17 PKG_MAINTAINER:=Johannes Morgenroth <jm@m-network.de>
18 PKG_LICENSE:=Apache-2.0
19
20 PKG_INSTALL:=1
21 PKG_FIXUP:=libtool
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/ibrcommon
26 SECTION:=libs
27 CATEGORY:=Libraries
28 DEPENDS:=+libstdcpp +librt +libnl +libopenssl
29 TITLE:=IBR Common C++ Library
30 endef
31
32 CONFIGURE_ARGS += \
33 --with-openssl
34
35 TARGET_CXXFLAGS += -std=c++11
36
37 define Package/ibrcommon/description
38 A library with common functions for C++.
39 endef
40
41 define Build/InstallDev
42 $(INSTALL_DIR) $(1)
43 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
44 endef
45
46 define Package/ibrcommon/install
47 $(INSTALL_DIR) $(1)/usr/lib
48 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
49 endef
50
51 $(eval $(call BuildPackage,ibrcommon))