aboutsummaryrefslogtreecommitdiff
path: root/libraries/meanwhile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-08 16:53:09 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-09 17:20:45 +0700
commitf59a7e0d4e20a4a4bb4cdf4e3860410f7a4d511f (patch)
treec68958fdae95d756135790e18f100ba85ee9ce2c /libraries/meanwhile
parentd8590b77516c3c47b06f064aa3afcb84d4b0e101 (diff)
libraries/meanwhile: Remove .la files.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/meanwhile')
-rw-r--r--libraries/meanwhile/meanwhile.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/libraries/meanwhile/meanwhile.SlackBuild b/libraries/meanwhile/meanwhile.SlackBuild
index 467548ae5c0f2..c6d779381cb0f 100644
--- a/libraries/meanwhile/meanwhile.SlackBuild
+++ b/libraries/meanwhile/meanwhile.SlackBuild
@@ -26,21 +26,18 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=meanwhile
VERSION=${VERSION:-1.0.2}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,8 +47,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"
@@ -96,10 +93,12 @@ CFLAGS="$SLKCFLAGS" \
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
mv $PKG/usr/share/doc/meanwhile-doc-$VERSION/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share
-cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README TODO \
+cp -a AUTHORS COPYING ChangeLog LICENSE NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc