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 . } -