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>
This commit is contained in:
Matteo Bernardini 2022-02-06 18:05:07 +01:00 committed by Willy Sudiarto Raharjo
parent f8c1618e85
commit 6e7805abbc
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 15 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="librfm5"
VERSION="5.3.12"
VERSION="5.3.16.4"
HOMEPAGE="http://xffm.org/libxffm.html"
DOWNLOAD="http://sourceforge.net/projects/xffm/files/5.3.12/librfm5-5.3.12.tar.bz2"
MD5SUM="1784db90539a16d7e8897a5e93a5ea85"
DOWNLOAD="http://downloads.sf.net/xffm/librfm5-5.3.16.4.tar.bz2"
MD5SUM="7e32c423535ea1a7667b3886dc3c41f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libtubo0 libdbh2"