mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
office/gnucash: Use NINJA=ninja by default.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fbeac5a88e
commit
f15ef59048
1 changed files with 4 additions and 2 deletions
|
@ -119,7 +119,7 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p build
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
|
@ -136,7 +136,9 @@ cd build
|
|||
-DGNUCASH_BUILD_ID="$VERSION-`date -I` by $PACKAGER" \
|
||||
-DCMAKE_BUILD_TYPE=release ..
|
||||
|
||||
DESTDIR="$PKG" $NINJA install
|
||||
"${NINJA:=ninja}"
|
||||
DESTDIR="$PKG" $NINJA install
|
||||
cd ..
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
|
Loading…
Reference in a new issue