summaryrefslogtreecommitdiff
path: root/libraries/libe-book/libe-book.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libe-book/libe-book.SlackBuild')
-rw-r--r--libraries/libe-book/libe-book.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/libraries/libe-book/libe-book.SlackBuild b/libraries/libe-book/libe-book.SlackBuild
index b20e9ecb22..8736be2144 100644
--- a/libraries/libe-book/libe-book.SlackBuild
+++ b/libraries/libe-book/libe-book.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libe-book
VERSION=${VERSION:-0.1.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,9 +69,9 @@ 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 {} \;
-case "${DOC:-no}" in
- yes) doc='--with-docs' ;;
- *) doc='--without-docs' ;;
+case "${DOC:-0}" in
+ 0) doc='--without-docs' ;;
+ *) doc='--with-docs' ;;
esac
if pkg-config --exists cppunit; then
@@ -80,16 +80,15 @@ else
cppunit='--disable-tests'
fi
-CFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \
-CXXFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \
+CXXFLAGS="$SLKCFLAGS -DBOOST_ERROR_CODE_HEADER_ONLY" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--disable-werror \
--build=$ARCH-slackware-linux \
- $doc \
- $cppunit
+ $cppunit $doc
make
make install DESTDIR=$PKG