poco: update to 1.7.7
[feed/packages.git] / libs / poco / Makefile
1 #
2 # Copyright (C) 2007-2016 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:=poco
11 PKG_VERSION:=1.7.7
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://pocoproject.org/releases/poco-1.7.7
16 PKG_MD5SUM:=deb1e25704a39aac9fcd2beb4db55316
17
18 PKG_LICENSE:=BSL-1.0
19 PKG_LICENSE_FILES:=LICENSE
20
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/poco
26 SECTION:=libs
27 CATEGORY:=Libraries
28 TITLE:=Poco C++ libraries
29 URL:=http://www.pocoproject.org/
30 DEPENDS:=+libstdcpp +libpthread +librt
31 MAINTAINER:=Jean-Michel Julien <jean-michel.julien@trilliantinc.com>
32 endef
33
34 define Package/poco/description
35 POrtable COmponents, a modern and powerful open source C++ class libraries
36 and frameworks for building network and internet-based applications that
37 run on desktop, server and embedded systems.
38 endef
39
40 CONFIGURE_ARGS += \
41 --config=Linux \
42 --no-tests \
43 --no-samples \
44 --no-fpenvironment \
45 --no-sharedmemory \
46 --no-wstring \
47 --poquito \
48 --minimal \
49 --shared
50
51 define Package/poco/install
52 $(INSTALL_DIR) $(1)/usr/lib
53 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco{Foundation,XML,JSON,Net,Util}.so* $(1)/usr/lib/
54 endef
55
56 define Build/InstallDev
57 $(INSTALL_DIR) $(1)/usr/include
58 $(CP) $(PKG_INSTALL_DIR)/usr/include/Poco $(1)/usr/include/
59
60 $(INSTALL_DIR) $(1)/usr/lib
61 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco{Foundation,XML,JSON,Net,Util}.so* $(1)/usr/lib/
62 endef
63
64 $(eval $(call BuildPackage,poco))