diff options
Diffstat (limited to 'libraries/meanwhile')
-rw-r--r-- | libraries/meanwhile/meanwhile.SlackBuild | 15 |
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 |