aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorArthur W. Green <awg@posteo.us>2017-01-05 22:18:43 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-07 08:48:05 +0700
commit08ee8f73da5b5b7b34f6207bdce693f1272778dd (patch)
tree8d6d73064b3119b715a34eaa79a8d7789be7725f /libraries
parent0af571d0bd4d1590e9f0d8c2751ca93a61dd984f (diff)
libraries/libaaio: Switch to i586 + update maintainer email.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libaaio/README6
-rw-r--r--libraries/libaaio/libaaio.SlackBuild24
-rw-r--r--libraries/libaaio/libaaio.info2
3 files changed, 18 insertions, 14 deletions
diff --git a/libraries/libaaio/README b/libraries/libaaio/README
index 202797be8785..14d54c954fa8 100644
--- a/libraries/libaaio/README
+++ b/libraries/libaaio/README
@@ -5,6 +5,6 @@ abuse the terminal (i.e. whenever the mode of the terminal is changed
its state is stored so it can be restored).
The software has not seen any changes since 2005, but remains useful
-for programs that still require it. This build installs both the
-static and shared libraries, as some programs still explicitly call
-for the former.
+primarily for initial porting of Win32 terminal programs. This build
+installs both the static and shared libraries, as most programs using
+this library expect the former.
diff --git a/libraries/libaaio/libaaio.SlackBuild b/libraries/libaaio/libaaio.SlackBuild
index 88a0ab490988..3d28a72f22ad 100644
--- a/libraries/libaaio/libaaio.SlackBuild
+++ b/libraries/libaaio/libaaio.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh -e
-# SlackBuild for libaaio, 3 May 2016
-# Arthur W. Green <lynx@panix.com>
+# SlackBuild for libaaio, 5 January 2017
+# Arthur W. Green <awg@posteo.us>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification,
@@ -28,12 +28,12 @@
PRGNAM=libaaio
VERSION=${VERSION:-0.3.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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
@@ -44,8 +44,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"
@@ -67,16 +67,20 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -exec chmod -R u+w,go-w,a+rX-st {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# twiddle and patch files to appease crusty autoconf.
+# patch files to appease some crusty autoconf.
mv -v configure.in configure.ac
patch -p1 < $CWD/$PRGNAM.patch
mkdir -p m4 # a stub.
autoreconf --install --force
-# build BOTH static and shared libraries, as software dependent
-# on libaaio expect libaaio.a more often than not.
+# we build BOTH static and shared libraries, as software dependent on
+# libaaio expect libaaio.a more often than not.
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/libraries/libaaio/libaaio.info b/libraries/libaaio/libaaio.info
index d830e5977fc2..a4413e1f0b53 100644
--- a/libraries/libaaio/libaaio.info
+++ b/libraries/libaaio/libaaio.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Arthur W. Green"
-EMAIL="lynx@panix.com"
+EMAIL="awg@posteo.us"