summaryrefslogtreecommitdiff
path: root/package/tinyxml/Makefile
blob: 5e24fc2d63bb2f6e07ba21d3502dcc48e85c8346 (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
# 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:=		tinyxml
PKG_VERSION:=		2.6.2
PKG_RELEASE:=		1
PKG_HASH:=		8164c9ad48b9028667768a584d62f7760cfbfb90d0dd6214ad174403058da10c
PKG_DESCR:=		simple, small, minimal, c++ xml parser
PKG_SECTION:=		libs/data
PKG_BUILDDEP:=		unzip-host
PKG_SITES:=		http://mirrors.xbmc.org/build-deps/sources/
PKG_OPTS:=		dev

DISTFILES:=             ${PKG_NAME}-2.6.2_2.tar.gz
WRKDIST=		${WRKDIR}/tinyxml-2.6.2_2

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,TINYXML,tinyxml,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

TARGET_CXXFLAGS+=	-fPIC

AUTOTOOL_STYLE:=	autoreconf

tinyxml-install:
	$(INSTALL_DIR) $(IDIR_TINYXML)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libtinyxml.so* \
		$(IDIR_TINYXML)/usr/lib

include ${ADK_TOPDIR}/mk/pkg-bottom.mk