aboutsummaryrefslogtreecommitdiff
path: root/libraries/libzmf/libzmf.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-12-19 22:18:22 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-21 08:19:24 +0700
commit5e062f221796684f0361061c13bc110303b1a860 (patch)
treecfe95c9885bffc79c6613ed209eaa05ce23de875 /libraries/libzmf/libzmf.SlackBuild
parent7566cb1bb6f88941e9cfaaa4a64960a9f0d48cfa (diff)
libraries/libzmf: Updated for version 0.0.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libzmf/libzmf.SlackBuild')
-rw-r--r--libraries/libzmf/libzmf.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/libraries/libzmf/libzmf.SlackBuild b/libraries/libzmf/libzmf.SlackBuild
index 9e85a04e31874..df263666052ef 100644
--- a/libraries/libzmf/libzmf.SlackBuild
+++ b/libraries/libzmf/libzmf.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libzmf
-VERSION=${VERSION:-0.0.1}
+VERSION=${VERSION:-0.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -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,17 +80,13 @@ else
cppunit='--disable-tests'
fi
-# Fix build with slibtool
-# -no-undefines should be -no-undefined
-zcat $CWD/configure.patch.gz | patch -p1
-autoreconf -fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--disable-werror \
--build=$ARCH-slackware-linux \
$cppunit $doc