summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author LEVAI Daniel <leva@ecentrum.hu>2017-04-27 07:14:03 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-28 20:32:15 +0700
commit30ab5b844eb41104ee47cacf5a27fdd819b165ed (patch)
treef75f6d0fc3635439a4e9789e024090cd153ce67a
parentf77d0b881082d77899e1700da4845626becf1fef (diff)
downloadslackbuilds-30ab5b844eb41104ee47cacf5a27fdd819b165ed.tar.gz
slackbuilds-30ab5b844eb41104ee47cacf5a27fdd819b165ed.tar.xz
system/mdocml: Updated for version 1.14.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/mdocml/mdocml.SlackBuild12
-rw-r--r--system/mdocml/mdocml.info6
2 files changed, 12 insertions, 6 deletions
diff --git a/system/mdocml/mdocml.SlackBuild b/system/mdocml/mdocml.SlackBuild
index 1a24014..4cb4fcd 100644
--- a/system/mdocml/mdocml.SlackBuild
+++ b/system/mdocml/mdocml.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2014 LEVAI Daniel
+# Copyright (c) 2014-2017 LEVAI Daniel
# All rights reserved.
#
# * Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mdocml
-VERSION=${VERSION:-1.13.4}
+VERSION=${VERSION:-1.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,7 +78,7 @@ fi
./configure
# The makefile uses hard links :O
-sed -i -e 's/ln -f/ln -sf/' Makefile
+sed -i -e 's/ln -f/ln -sf/' Makefile.local
CFLAGS=$SLKCFLAGS \
make
@@ -87,6 +87,12 @@ make install \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX}
+# Fix symlinks
+for link in $(find ${PKG}/usr/bin ${PKG}/usr/sbin -type l);do
+ TARGET=$(readlink ${link})
+ ln -fs ${TARGET##${PKG}} ${link}
+done
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/system/mdocml/mdocml.info b/system/mdocml/mdocml.info
index 7b3c8f9..2879f04 100644
--- a/system/mdocml/mdocml.info
+++ b/system/mdocml/mdocml.info
@@ -1,8 +1,8 @@
PRGNAM="mdocml"
-VERSION="1.13.4"
+VERSION="1.14.1"
HOMEPAGE="http://mdocml.bsd.lv/"
-DOWNLOAD="http://mdocml.bsd.lv/snapshots/mdocml-1.13.4.tar.gz"
-MD5SUM="797d4f0e112479f8861e03a72f8b8b01"
+DOWNLOAD="http://mdocml.bsd.lv/snapshots/mdocml-1.14.1.tar.gz"
+MD5SUM="07db67f437ee894e7e4b18b305d53ca1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""