diff options
-rw-r--r-- | system/t1utils/t1utils.SlackBuild | 21 | ||||
-rw-r--r-- | system/t1utils/t1utils.info | 8 |
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="" |