aboutsummaryrefslogtreecommitdiff
path: root/system/sakura/sakura.SlackBuild
diff options
context:
space:
mode:
authorKristaps Esterlins <esterlinsh@gmail.com>2010-05-13 00:41:44 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:41:44 +0200
commit96c259b088820f411d7fdfd008582646e6d1cded (patch)
treec27f6caa340188221cf5e83fb779b07e197819f5 /system/sakura/sakura.SlackBuild
parent8440103127fac67c7d1d6f0bb99630ac44234636 (diff)
system/sakura: Updated for version 2.3.2
Diffstat (limited to 'system/sakura/sakura.SlackBuild')
-rw-r--r--system/sakura/sakura.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/sakura/sakura.SlackBuild b/system/sakura/sakura.SlackBuild
index 32da0defd60a7..bd575383efd0a 100644
--- a/system/sakura/sakura.SlackBuild
+++ b/system/sakura/sakura.SlackBuild
@@ -30,7 +30,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-cmake -DCMAKE_INSTALL_PREFIX=/usr .
+cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \
+ .
make
make install DESTDIR=$PKG
strip --strip-unneeded $PKG/usr/bin/sakura
@@ -47,4 +51,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}