2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
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
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/ibrcommon
28 DEPENDS
:=+libstdcpp
+libpthread
+librt
+libnl
+libopenssl
29 TITLE
:=IBR Common C
++ Library
35 define Package
/ibrcommon
/description
36 A library with common functions for C
++.
39 define Build
/InstallDev
41 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
44 define Package
/ibrcommon
/install
45 $(INSTALL_DIR
) $(1)/usr
/lib
46 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so.
* $(1)/usr
/lib
/
49 $(eval
$(call BuildPackage
,ibrcommon
))