aboutsummaryrefslogtreecommitdiff
path: root/libraries/swfdec/swfdec.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-08 16:53:10 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-09 17:20:46 +0700
commit289088e59e35c714ee261093002fb6c7930b2b10 (patch)
tree596a4fe9e9dae09798bfd5238a5895355db39416 /libraries/swfdec/swfdec.SlackBuild
parent826c878d8f1d18bbfcf9189c4574375ed6825b8d (diff)
libraries/swfdec: Remove .la files.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/swfdec/swfdec.SlackBuild')
-rw-r--r--libraries/swfdec/swfdec.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/libraries/swfdec/swfdec.SlackBuild b/libraries/swfdec/swfdec.SlackBuild
index e0be0dcd5d39..814518380f23 100644
--- a/libraries/swfdec/swfdec.SlackBuild
+++ b/libraries/swfdec/swfdec.SlackBuild
@@ -26,21 +26,18 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=swfdec
VERSION=${VERSION:-0.9.2}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
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
@@ -52,8 +49,8 @@ OUTPUT=${OUTPUT:-/tmp}
set -eu
-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"
@@ -89,8 +86,10 @@ CFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
-cp -ar AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README doc/html $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar AUTHORS COPYING ChangeLog MAINTAINERS NEWS README doc/html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc