From 8379bf0705fff236af1dc7daf9971f379412fca1 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 23 Sep 2016 14:29:49 -0700 Subject: [PATCH] expat: use cmake configuration Signed-off-by: Stephan Raue --- packages/textproc/expat/package.mk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/textproc/expat/package.mk b/packages/textproc/expat/package.mk index 2f5d758b98..afb6e6f041 100644 --- a/packages/textproc/expat/package.mk +++ b/packages/textproc/expat/package.mk @@ -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 . } -