net/xtables-addons: update to version 1.31. this series of updates closes #8369
[openwrt/svn-archive/archive.git] / libs / poco / Makefile
1 #
2 # Copyright (C) 2007-2010 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.3.6p2
12 PKG_RELEASE:=1
13
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
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/poco
23 NAME:=poco
24 SECTION:=libs
25 CATEGORY:=Libraries
26 TITLE:=Poco C++ libraries
27 URL:=http://www.pocoproject.org/
28 DEPENDS:=+libstdcpp
29 endef
30
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
34 embedded systems.
35 endef
36
37 CONFIGURE_ARGS += \
38 --config=Linux \
39 --no-tests \
40 --no-samples \
41 --no-fpenvironment \
42 --no-sharedmemory \
43 --no-wstring
44
45 define Package/poco/install
46 $(INSTALL_DIR) $(1)/usr/lib
47 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco{Foundation,XML,Net,Util}.so* $(1)/usr/lib/
48 endef
49
50 define Build/InstallDev
51 $(INSTALL_DIR) $(1)/usr/include
52 $(CP) -r $(PKG_INSTALL_DIR)/usr/include/Poco $(1)/usr/include/
53
54 $(INSTALL_DIR) $(1)/usr/lib
55 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco{Foundation,XML,Net,Util}.so* $(1)/usr/lib/
56 endef
57
58 $(eval $(call BuildPackage,poco))