aboutsummaryrefslogtreecommitdiff
path: root/development/cppcms/cppcms.SlackBuild
diff options
context:
space:
mode:
authorAsaf Ohayon <asaf.tvn@gmail.com>2014-01-21 12:21:35 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:09 -0600
commit3b398129a14ae6ee5614bfb936ec8b349fb20c44 (patch)
tree821d3e18f44f52aca1f5024cfd25a0b6e7c103aa /development/cppcms/cppcms.SlackBuild
parent27727f49473543cd41d7d27d03730385fbdefc63 (diff)
development/cppcms: Updated for version 1.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/cppcms/cppcms.SlackBuild')
-rw-r--r--development/cppcms/cppcms.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/development/cppcms/cppcms.SlackBuild b/development/cppcms/cppcms.SlackBuild
index ce7315310ca52..db4a62f567ece 100644
--- a/development/cppcms/cppcms.SlackBuild
+++ b/development/cppcms/cppcms.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for cppcms
-# Written by Asaf Ohaion (asaf at hadasa-oss net)
+# Written by Asaf Ohayon (asaf at hadasa-oss net)
PRGNAM=cppcms
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,10 +46,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -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
cd build
@@ -57,7 +57,6 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DLIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
make