diff options
author | Andrew Strong <andrew.david.strong@gmail.com> | 2021-01-08 16:53:34 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-09 14:30:25 +0700 |
commit | c5acce98fa18d9b01921ea56fc2364cb7d6266f0 (patch) | |
tree | 2b25cf5749de0d98006dec5a51de966e12c520d2 /network/courier-unicode/courier-unicode.SlackBuild | |
parent | ca3c570c80cca814e28d71ff47103f9a10de7e0b (diff) |
network/courier-unicode: Updated for version 2.1.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/courier-unicode/courier-unicode.SlackBuild')
-rw-r--r-- | network/courier-unicode/courier-unicode.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/network/courier-unicode/courier-unicode.SlackBuild b/network/courier-unicode/courier-unicode.SlackBuild index 41373283580d5..f4bcf685f8608 100644 --- a/network/courier-unicode/courier-unicode.SlackBuild +++ b/network/courier-unicode/courier-unicode.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for courier unicode # # Copyright 2015 - 2019 Derek Noonburg (derekn@foolabs.com) -# Copyright 2019 Andrew Strong, Blue Mountains, Australia. +# Copyright 2019 - 2021 Andrew Strong, Blue Mountains, Australia. # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that @@ -25,13 +25,13 @@ # ---------------------------------------------------------------------- PRGNAM=courier-unicode -VERSION=${VERSION:-2.1} +VERSION=${VERSION:-2.1.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 @@ -42,8 +42,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" @@ -79,11 +79,15 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ + --disable-static \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG +# Don't ship .la files: +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 @@ -91,7 +95,7 @@ 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 -a INSTALL COPYING AUTHORS README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |