aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Hernández Blas <hba.nihilismus@gmail.com>2015-07-04 14:48:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-04 14:48:32 +0700
commit3db267fd4e43d8b8649e4f567db299744ebe7395 (patch)
tree48b6e5f82ab9f3f824d7ae3912cf5a5a1ccad4d7
parent4dafaaaf7be0c94d4cdf13dee845feed6e878706 (diff)
misc/discount: Updated for version 2.1.8a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--misc/discount/discount.SlackBuild14
-rw-r--r--misc/discount/discount.info6
2 files changed, 14 insertions, 6 deletions
diff --git a/misc/discount/discount.SlackBuild b/misc/discount/discount.SlackBuild
index 12dbbbfc7e3d..ca29f8b3f6c0 100644
--- a/misc/discount/discount.SlackBuild
+++ b/misc/discount/discount.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for discount
-# Copyright (c) 2011, Antonio Hernández Blas <hba.nihilismus@gmail.com>
+# Copyright (c) 2011-2015, Antonio Hernández Blas <hba.nihilismus@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -22,7 +22,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=discount
-VERSION=${VERSION:-2.1.6}
+VERSION=${VERSION:-2.1.8a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,9 @@ find -L . \
# Disable ldconfig use during 'make install'
sed -i 's/LDCONFIG=.*$/LDCONFIG=true/g' configure.inc
+# Fix file permission
+sed -i 's/PROG_INSTALL -m 444/PROG_INSTALL -m 644/g' configure.inc
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure.sh \
@@ -78,8 +81,13 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--confdir=/etc \
--mandir=/usr/man \
+ --with-dl=Both \
+ --with-id-anchor \
+ --with-github-tags \
+ --with-fenced-code \
+ --with-urlencoded-anchor \
--enable-all-features \
- --shared
+ --shared
make
diff --git a/misc/discount/discount.info b/misc/discount/discount.info
index 7a4c00461255..d515c13783f5 100644
--- a/misc/discount/discount.info
+++ b/misc/discount/discount.info
@@ -1,8 +1,8 @@
PRGNAM="discount"
-VERSION="2.1.6"
+VERSION="2.1.8a"
HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
-DOWNLOAD="http://www.pell.portland.or.us/~orc/Code/discount/discount-2.1.6.tar.bz2"
-MD5SUM="6f44e627777b6392f8f4a3280642482a"
+DOWNLOAD="http://www.pell.portland.or.us/~orc/Code/discount/discount-2.1.8a.tar.bz2"
+MD5SUM="edada8cc01accc2c0a634871991b4e08"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""