summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Donald Cooley2018-02-12 10:57:20 +0100
committer Willy Sudiarto Raharjo2018-02-17 01:42:53 +0100
commitb091cda56ba7b19ac7caa55b97c6068f2fe10427 (patch)
treeed388eca8ab66b5b7460f094a45e0a6f5c15c2f3
parent6dae73304ec380e86c0b587e254cde8629c616e2 (diff)
downloadold.slackbuilds-b091cda56ba7b19ac7caa55b97c6068f2fe10427.tar.gz
misc/discount: Updated for version 2.2.2 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--misc/discount/README4
-rw-r--r--misc/discount/discount.SlackBuild10
-rw-r--r--misc/discount/discount.info10
-rw-r--r--misc/discount/slack-desc4
4 files changed, 14 insertions, 14 deletions
diff --git a/misc/discount/README b/misc/discount/README
index 8019baee01..ffa5bab9fb 100644
--- a/misc/discount/README
+++ b/misc/discount/README
@@ -1,6 +1,4 @@
-discount (An implementation of Markdown text to html language in C)
-
-This is an implementation of John Gruber's Markdown text to html
+Discount is an implementation of John Gruber's Markdown text to HTML
language written by David Loren Parsons. There's not much that
differentiates it from any of the existing Markdown implementations
except that it's written in C instead of one of the vast flock of
diff --git a/misc/discount/discount.SlackBuild b/misc/discount/discount.SlackBuild
index ca29f8b3f6..3828cc9bc9 100644
--- a/misc/discount/discount.SlackBuild
+++ b/misc/discount/discount.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for discount
+# Copyright 2018 Donald Cooley, South Haven, Indiana USA
# Copyright (c) 2011-2015, Antonio Hernández Blas <hba.nihilismus@gmail.com>
# All rights reserved.
#
@@ -22,13 +23,13 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=discount
-VERSION=${VERSION:-2.1.8a}
+VERSION=${VERSION:-2.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -39,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -81,6 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--confdir=/etc \
--mandir=/usr/man \
+ --with-amalloc \
--with-dl=Both \
--with-id-anchor \
--with-github-tags \
diff --git a/misc/discount/discount.info b/misc/discount/discount.info
index d515c13783..da0da27377 100644
--- a/misc/discount/discount.info
+++ b/misc/discount/discount.info
@@ -1,10 +1,10 @@
PRGNAM="discount"
-VERSION="2.1.8a"
+VERSION="2.2.2"
HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
-DOWNLOAD="http://www.pell.portland.or.us/~orc/Code/discount/discount-2.1.8a.tar.bz2"
-MD5SUM="edada8cc01accc2c0a634871991b4e08"
+DOWNLOAD="http://www.pell.portland.or.us/~orc/Code/discount/discount-2.2.2.tar.bz2"
+MD5SUM="0531fc428f023942b364c781a948df08"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Antonio Hernández Blas"
-EMAIL="hba.nihilismus@gmail.com"
+MAINTAINER="Donald Cooley"
+EMAIL="chytraeu@sdf.org"
diff --git a/misc/discount/slack-desc b/misc/discount/slack-desc
index a2662f9ccd..e2ce055ce4 100644
--- a/misc/discount/slack-desc
+++ b/misc/discount/slack-desc
@@ -6,9 +6,9 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-discount: discount (An implementation of Markdown text to html language in C)
+discount: discount (implementation of Markdown text to html language in C)
discount:
-discount: This is an implementation of John Gruber's Markdown text to html
+discount: This is an implementation of John Gruber's Markdown text to HTML
discount: language written by David Loren Parsons. There's not much that
discount: differentiates it from any of the existing Markdown implementations
discount: except that it's written in C instead of one of the vast flock of