summaryrefslogtreecommitdiff
path: root/system/t1utils
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2017-08-08 22:48:22 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:58:53 +0700
commit920ab518254caf7afacd1673c9b6e1d833cada91 (patch)
treef078833bdafdeb5bd995a288e82c3e558567d9d0 /system/t1utils
parent1e89475715cf98d9dbce566054ae14599b761766 (diff)
downloadslackbuilds-920ab518254caf7afacd1673c9b6e1d833cada91.tar.gz
system/t1utils: Updated for version 1.40.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'system/t1utils')
-rw-r--r--system/t1utils/t1utils.SlackBuild21
-rw-r--r--system/t1utils/t1utils.info8
2 files changed, 17 insertions, 12 deletions
diff --git a/system/t1utils/t1utils.SlackBuild b/system/t1utils/t1utils.SlackBuild
index de53ae6f10..46ef078bcc 100644
--- a/system/t1utils/t1utils.SlackBuild
+++ b/system/t1utils/t1utils.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for t1utils
-# Copyright 2013,2015 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2013-2017 Kyle Guinn <elyk03@gmail.com>, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=t1utils
-VERSION=${VERSION:-1.39}
+VERSION=${VERSION:-1.40}
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
@@ -37,14 +37,17 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
+PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
-DOCS="INSTALL NEWS README"
+DOCS="INSTALL NEWS.md README.md"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
@@ -67,17 +70,19 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-CFLAGS="$SLKCFLAGS" \
+# -D_GNU_SOURCE is to fix https://github.com/kohler/t1utils/issues/8
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --infodir=/usr/info \
--mandir=/usr/man \
+ --infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-dependency-tracking \
--build=$ARCH-slackware-linux \
- --disable-dependency-tracking
+ CFLAGS="$SLKCFLAGS" \
+ CPPFLAGS="-D_GNU_SOURCE" \
make
make install-strip DESTDIR=$PKG
diff --git a/system/t1utils/t1utils.info b/system/t1utils/t1utils.info
index 4ccda9f3e2..cf81cf23bd 100644
--- a/system/t1utils/t1utils.info
+++ b/system/t1utils/t1utils.info
@@ -1,8 +1,8 @@
PRGNAM="t1utils"
-VERSION="1.39"
-HOMEPAGE="http://www.lcdf.org/type/#t1utils"
-DOWNLOAD="http://www.lcdf.org/type/t1utils-1.39.tar.gz"
-MD5SUM="88837df02d69ed9d0f61c44ce5049cf4"
+VERSION="1.40"
+HOMEPAGE="https://www.lcdf.org/type/#t1utils"
+DOWNLOAD="https://www.lcdf.org/type/t1utils-1.40.tar.gz"
+MD5SUM="03ef8db067d2c8657f50130292d46617"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""