aboutsummaryrefslogtreecommitdiff
path: root/libraries/librfm5/librfm5.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-06 18:05:07 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-07 00:08:52 +0700
commit6e7805abbc54804a43150f6ae604998a6c87dc40 (patch)
tree22264f468e7da029e05ac373bdd0910c73408e58 /libraries/librfm5/librfm5.SlackBuild
parentf8c1618e859ef7b82ac015e35dee2306c482d36b (diff)
libraries/librfm5: Updated for version 5.3.16.4.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/librfm5/librfm5.SlackBuild')
-rw-r--r--libraries/librfm5/librfm5.SlackBuild16
1 files changed, 4 insertions, 12 deletions
diff --git a/libraries/librfm5/librfm5.SlackBuild b/libraries/librfm5/librfm5.SlackBuild
index 3afb4fad61a2..cd68d1f95d9d 100644
--- a/libraries/librfm5/librfm5.SlackBuild
+++ b/libraries/librfm5/librfm5.SlackBuild
@@ -25,14 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=librfm5
-VERSION=${VERSION:-5.3.12}
+VERSION=${VERSION:-5.3.16.4}
BUILD=${BUILD:-1}
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
@@ -50,8 +50,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"
@@ -106,14 +106,6 @@ make install DESTDIR=$PKG
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
-if [ -r $PKG/usr/lib${LIBDIRSUFFIX}/librfm.so.2.0.0 ]; then
- ( cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf librfm.so.2.0.0 librfm.so.3
- )
-else
- exit 1
-fi
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild