2 # Copyright (C) 2007-2014 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
://downloads.sourceforge.net
/project
/poco
/sources
/poco-1.3
.6
16 PKG_MD5SUM
:=32d154ca5f34d20217c0baaffa432c1c
20 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=Poco C
++ libraries
27 URL
:=http
://www.pocoproject.org
/
28 DEPENDS
:=+libstdcpp
+libpthread
+librt
31 define Package
/poco
/description
32 Modern
, powerful open source C
++ class libraries and frameworks for building
33 network- and internet-based applications that run on desktop
, server and
46 CXXFLAGS32
="$(TARGET_CXXFLAGS)" \
47 CFLAGS32
="$(TARGET_CFLAGS)" \
48 LINKFLAGS32
="$(TARGET_LDFLAGS)"
50 define Package
/poco
/install
51 $(INSTALL_DIR
) $(1)/usr
/lib
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libPoco
{Foundation
,XML
,Net
,Util
}.so
* $(1)/usr
/lib
/
55 define Build
/InstallDev
56 $(INSTALL_DIR
) $(1)/usr
/include
57 $(CP
) -r
$(PKG_INSTALL_DIR
)/usr
/include/Poco
$(1)/usr
/include/
59 $(INSTALL_DIR
) $(1)/usr
/lib
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libPoco
{Foundation
,XML
,Net
,Util
}.so
* $(1)/usr
/lib
/
63 $(eval
$(call BuildPackage
,poco
))