summaryrefslogtreecommitdiff
path: root/academic/bibletime/bibletime.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-04 02:54:23 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-05 20:14:41 -0500
commit403c023c6aa09386da6a1b84e5620244080bbb12 (patch)
tree5d6552e074e1262befe439163f4eee852fbc802d /academic/bibletime/bibletime.SlackBuild
parent2eb53be85d7d4ba5031489cacd58a8b33d1d1a0b (diff)
downloadslackbuilds-403c023c6aa09386da6a1b84e5620244080bbb12.tar.gz
academic/bibletime: Updated for version 2.9.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/bibletime/bibletime.SlackBuild')
-rw-r--r--academic/bibletime/bibletime.SlackBuild21
1 files changed, 14 insertions, 7 deletions
diff --git a/academic/bibletime/bibletime.SlackBuild b/academic/bibletime/bibletime.SlackBuild
index 43f4150767..daee6a60bf 100644
--- a/academic/bibletime/bibletime.SlackBuild
+++ b/academic/bibletime/bibletime.SlackBuild
@@ -28,7 +28,7 @@
# Modified by Robert Delahunt [twinreverb[at]puresimplicity.net
PRGNAM=bibletime
-VERSION=2.8.2
+VERSION=2.9.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,12 +75,19 @@ 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 \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS"
-make
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH:BOOL=ON \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
+ -DLIB_SUFFIX=$LIBDIRSUFFIX ..
+
+ make
+ make install DESTDIR=$PKG
+cd ..
# /usr/share/icons is for themed icons
mv $PKG/usr/share/icons $PKG/usr/share/pixmaps