2 # Copyright (C) 2007-2016 OpenWrt.org
3 # Copyright (C) 2017 Daniel Engberg <daniel.engberg.lists@pyret.net>
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://pocoproject.org
/releases
/$(PKG_NAME
)-$(PKG_VERSION
)
17 PKG_HASH
:=17783e30f5ef9c852544ac0e9d1fd316c4804317026059a9d6aad798b61c77f8
20 PKG_LICENSE_FILES
:=LICENSE
24 include $(INCLUDE_DIR
)/package.mk
29 TITLE
:=Poco C
++ libraries
30 URL
:=http
://www.pocoproject.org
/
31 DEPENDS
:=+libstdcpp
+libpthread
+librt
32 MAINTAINER
:=Jean-Michel Julien
<jean-michel.julien@trilliantinc.com
>
35 define Package
/poco
/description
36 POrtable COmponents
, a modern and powerful open source C
++ class libraries
37 and frameworks for building network and internet-based applications that
38 run on desktop
, server and embedded systems.
52 define Package
/poco
/install
53 $(INSTALL_DIR
) $(1)/usr
/lib
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libPoco
{Foundation
,XML
,JSON
,Net
,Util
}.so
* $(1)/usr
/lib
/
57 define Build
/InstallDev
58 $(INSTALL_DIR
) $(1)/usr
/include
59 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/Poco
$(1)/usr
/include/
61 $(INSTALL_DIR
) $(1)/usr
/lib
62 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libPoco
{Foundation
,XML
,JSON
,Net
,Util
}.so
* $(1)/usr
/lib
/
65 $(eval
$(call BuildPackage
,poco
))