expat: use cmake configuration

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-09-23 14:29:49 -07:00 committed by Lukas Rusak
parent b902d7c6bf
commit 8379bf0705
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -30,9 +30,11 @@ PKG_SHORTDESC="expat: XML parser library"
PKG_LONGDESC="Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags). An introductory article on using Expat is available on xml.com."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_AUTORECONF="no"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
PKG_CMAKE_OPTS_TARGET="-DBUILD_tools=OFF -DBUILD_examples=OFF -DBUILD_tests=OFF -DBUILD_shared=ON"
pre_make_target() {
# fix builderror when building in subdirs
cp -r ../doc .
}