mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Grantle : Install fix (#2418)
* Grantle Install fix * Cleanup * Sedding it all! * SRC_FILENAME
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user