summaryrefslogtreecommitdiff
path: root/system/sakura
diff options
context:
space:
mode:
Diffstat (limited to 'system/sakura')
-rw-r--r--system/sakura/sakura.SlackBuild8
-rw-r--r--system/sakura/sakura.info2
2 files changed, 8 insertions, 2 deletions
diff --git a/system/sakura/sakura.SlackBuild b/system/sakura/sakura.SlackBuild
index 32da0defd6..bd575383ef 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}
diff --git a/system/sakura/sakura.info b/system/sakura/sakura.info
index 896ea66202..370c335b9e 100644
--- a/system/sakura/sakura.info
+++ b/system/sakura/sakura.info
@@ -3,6 +3,8 @@ VERSION="2.3.2"
HOMEPAGE="http://pleyades.net/david/sakura.php"
DOWNLOAD="http://pleyades.net/david/projects/sakura/sakura-2.3.2.tar.bz2"
MD5SUM="d2f595a4b20a6f81c6904b138e152dce"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Kristaps Esterlins"
EMAIL="esterlinsh@gmail.com"
APPROVED="rworkman"