summaryrefslogtreecommitdiff
path: root/package/poco/Makefile
blob: 3f564ea58fb8cc42c04fbbff24a12b70fb47ad92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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

PKG_LIBC_DEPENDS:=	glibc

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

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