summaryrefslogtreecommitdiff
path: root/package/poco
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-11 14:02:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-11 14:02:07 +0200
commita46f18911158b76efd2c5335fff575272d39982b (patch)
treef3aa6c0c8d1a8fef2ce5a4cac697bb0b8405507d /package/poco
parentdf97a844f2be3b04bf7115729820107ea0306e51 (diff)
add new package poco
Diffstat (limited to 'package/poco')
-rw-r--r--package/poco/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/package/poco/Makefile b/package/poco/Makefile
new file mode 100644
index 000000000..cfcc533a4
--- /dev/null
+++ b/package/poco/Makefile
@@ -0,0 +1,35 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= poco
+PKG_VERSION:= 1.6.0
+PKG_RELEASE:= 1
+PKG_HASH:= 8e745271d57db8d544d5c8e37b3b7db01d7934e0257a41af0b8da9ee8b1554ee
+PKG_DESCR:= c++ network libraries
+PKG_SECTION:= libs/misc
+PKG_BUILDDEP:= zlib pcre
+PKG_DEPENDS:= zlib libpcre
+PKG_URL:= http://pocoproject.org
+PKG_SITES:= http://pocoproject.org/releases/poco-1.6.0/
+PKG_OPTS:= dev
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,POCO,poco,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+CONFIG_STYLE:= minimal
+CONFIGURE_ARGS+= --prefix=/usr \
+ --no-tests \
+ --no-samples
+XAKE_FLAGS+= GCC_HONOUR_COPTS=s
+
+poco-install:
+ $(INSTALL_DIR) $(IDIR_POCO)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libPoco*.so* \
+ $(IDIR_POCO)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk