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
13 PKG_RELEASE
:=$(AUTORELEASE
)
15 ifeq ($(BUILD_VARIANT
),all)
16 _PKG_VERSION
:=${PKG_VERSION}-all
17 PKG_HASH
:=b08cf73926fa92a6c8f3c712e8fb217d5d0c2fa5248ec0281f251fe1e925d2f1
19 _PKG_VERSION
:=${PKG_VERSION}
20 PKG_HASH
:=06ddc4934ff0a11be425d697f861c15b43b77b610e3642a2f85d0c34d7425ea4
23 PKG_SOURCE
:=$(PKG_NAME
)-$(_PKG_VERSION
).
tar.bz2
24 PKG_SOURCE_URL
:=https
://pocoproject.org
/releases
/$(PKG_NAME
)-$(PKG_VERSION
)
25 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(BUILD_VARIANT
)/$(PKG_NAME
)-$(_PKG_VERSION
)
27 PKG_MAINTAINER
:=Jean-Michel Julien
<jean-michel.julien@trilliantinc.com
>
29 PKG_LICENSE_FILES
:=LICENSE
30 PKG_CPE_ID
:=cpe
:/a
:pocoproject
:poco
32 include $(INCLUDE_DIR
)/package.mk
33 include $(INCLUDE_DIR
)/cmake.mk
38 TITLE
:=Poco C
++ libraries
39 URL
:=https
://www.pocoproject.org
/
40 DEPENDS
:=+libstdcpp
+libpthread
+librt @
!arc
44 define Package
/poco
/description
45 POrtable COmponents
, a modern and powerful open source C
++ class libraries
46 and frameworks for building network and internet-based applications that
47 run on desktop
, server and embedded systems.
50 define Package
/poco-all
54 TITLE
+=(Complete Edition
)
55 DEPENDS
+=+libopenssl
+libmariadb
+libpq
+unixodbc
59 define Package
/poco-all
/description
60 POrtable COmponents
, a modern and powerful open source C
++ class libraries
61 and frameworks for building network and internet-based applications that
62 run on desktop
, server and embedded systems. The Complete Edition contains
66 define Package
/poco
/install
67 $(INSTALL_DIR
) $(1)/usr
/lib
68 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libPoco
*.so
* $(1)/usr
/lib
/
71 define Package
/poco-all
/install
72 $(INSTALL_DIR
) $(1)/usr
/lib
73 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libPoco
*.so
* $(1)/usr
/lib
/
76 define Build
/InstallDev
77 $(INSTALL_DIR
) $(1)/usr
/include
78 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/Poco
$(1)/usr
/include/
80 $(INSTALL_DIR
) $(1)/usr
/lib
81 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libPoco
*.so
* $(1)/usr
/lib
/
85 $(eval
$(call BuildPackage
,poco
))
86 $(eval
$(call BuildPackage
,poco-all
))