diff options
Diffstat (limited to 'libraries/librfm5/librfm5.SlackBuild')
-rw-r--r-- | libraries/librfm5/librfm5.SlackBuild | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/libraries/librfm5/librfm5.SlackBuild b/libraries/librfm5/librfm5.SlackBuild index 3afb4fad61a2e..cd68d1f95d9d8 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 |