system/lcdf-typetools: Updated for version 2.110.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vijay Marcel 2024-02-07 06:30:28 +07:00 committed by Willy Sudiarto Raharjo
parent 6b0b5abb74
commit b40cade999
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 14 additions and 13 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for lcdf-typetools
# Copyright 2022 Vijay Marcel,India
# Copyright 2022-2024 Vijay Marcel,India
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lcdf-typetools
VERSION=${VERSION:-2.108}
VERSION=${VERSION:-2.110}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -48,13 +48,13 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@ -62,6 +62,7 @@ else
fi
set -e
trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -76,9 +77,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./bootstrap.sh
LDFLAGS="$SLDFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@ -95,14 +97,13 @@ make install DESTDIR=$PKG
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
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
| cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp *.md $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.md COPYING glyphtounicode.tex $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="lcdf-typetools"
VERSION="2.108"
VERSION="2.110"
HOMEPAGE="http://www.lcdf.org/type/"
DOWNLOAD="https://github.com/kohler/lcdf-typetools/archive/refs/tags/v2.108/lcdf-typetools-2.108.tar.gz"
MD5SUM="4be1af56e84c47a2cecb75d97166d481"
DOWNLOAD="http://www.lcdf.org/type/lcdf-typetools-2.110.tar.gz"
MD5SUM="3ce1ad84e805f052b9d785333dbeb5d4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""