aboutsummaryrefslogtreecommitdiff
path: root/network/courier-unicode
diff options
context:
space:
mode:
authorAndrew Strong <andrew.david.strong@gmail.com>2021-01-08 16:53:34 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 14:30:25 +0700
commitc5acce98fa18d9b01921ea56fc2364cb7d6266f0 (patch)
tree2b25cf5749de0d98006dec5a51de966e12c520d2 /network/courier-unicode
parentca3c570c80cca814e28d71ff47103f9a10de7e0b (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')
-rw-r--r--network/courier-unicode/courier-unicode.SlackBuild16
-rw-r--r--network/courier-unicode/courier-unicode.info6
2 files changed, 13 insertions, 9 deletions
diff --git a/network/courier-unicode/courier-unicode.SlackBuild b/network/courier-unicode/courier-unicode.SlackBuild
index 41373283580d..f4bcf685f860 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
diff --git a/network/courier-unicode/courier-unicode.info b/network/courier-unicode/courier-unicode.info
index 1840918e8983..79b4f414de7b 100644
--- a/network/courier-unicode/courier-unicode.info
+++ b/network/courier-unicode/courier-unicode.info
@@ -1,8 +1,8 @@
PRGNAM="courier-unicode"
-VERSION="2.1"
+VERSION="2.1.2"
HOMEPAGE="http://www.courier-mta.org/unicode/"
-DOWNLOAD="https://download.sourceforge.net/courier/courier-unicode-2.1.tar.bz2"
-MD5SUM="e2b4e8f16c51b2bc03ab16a5ff49832b"
+DOWNLOAD="https://download.sourceforge.net/courier/courier-unicode-2.1.2.tar.bz2"
+MD5SUM="f35eb33593aa81a8a15c7d40cf5fb9b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""