aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/lucene++/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/lucene++/APKBUILD b/testing/lucene++/APKBUILD
index c3d0c4e01e..f5fc33e7fa 100644
--- a/testing/lucene++/APKBUILD
+++ b/testing/lucene++/APKBUILD
@@ -5,11 +5,11 @@ pkgver=3.0.7
pkgrel=0
pkgdesc="C++ port of the popular Java Lucene library"
url="https://github.com/luceneplusplus/LucenePlusPlus'"
-arch=""
+arch="all"
license="GPL Apache"
depends=""
depends_dev="boost-dev"
-makedepends="$depends_dev cmake linux-headers"
+makedepends="$depends_dev cmake linux-headers ccache"
install=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_3.0.7.tar.gz"
@@ -29,6 +29,9 @@ prepare() {
build() {
mkdir "$_builddir"/build
cd "$_builddir"/build
+ # stupid (but functional) hack to prevent fority header to break
+ # the build. Remeber to remove ccache from deps when fixed.
+ export PATH="/usr/lib/ccache/bin/:$PATH"
cmake "$_builddir" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_DESTINATION=/usr/lib \