Grantle : Install fix (#2418)

* Grantle Install fix

* Cleanup

* Sedding it all!

* SRC_FILENAME
This commit is contained in:
miqlas
2018-04-09 18:08:43 +02:00
committed by GitHub
parent f3f7d39e47
commit 180f7b1e66

View File

@@ -13,6 +13,7 @@ LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/steveire/grantlee/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="3836572fe5e49d28a1d99186c6d96f88ff839644b4bc77b73b6d8208f6ccc9d1"
SOURCE_FILENAME="grantlee-$portVersion.tar.gz"
PATCHES="grantlee-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86_64"
@@ -57,7 +58,9 @@ BUILD()
cmake .. \
-DLIB_SUFFIX="/${secondaryArchSuffix/_/}" \
-DINCLUDE_INSTALL_DIR=$includeDir
-DINCLUDE_INSTALL_DIR=$includeDir \
$cmakeDirArgs
make $jobArgs
}
@@ -66,6 +69,9 @@ INSTALL()
cd build
make install
# Remove unneeded include, no idea, where does it comes from. Aliens?
sed -i 's/;.*\"/"/' "$libDir"/cmake/Grantlee5/GrantleeTargets.cmake
prepareInstalledDevelLibs \
libGrantlee_TextDocument \
libGrantlee_Templates