diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-05-18 01:10:31 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-19 09:07:00 -0500 |
commit | 8355e4dbffbfcb058d665da2f399b01e98e5a5e5 (patch) | |
tree | 946a5f86560420908b94f2001bd4730baf72faf0 /desktop/bilbo/bilbo.SlackBuild | |
parent | f29bdc3213474f42b21bbebc525506aa565b6379 (diff) | |
download | slackbuilds-8355e4dbffbfcb058d665da2f399b01e98e5a5e5.tar.gz |
desktop/bilbo: Removed (part of Slackware 13.1 kde packages)
Diffstat (limited to 'desktop/bilbo/bilbo.SlackBuild')
-rw-r--r-- | desktop/bilbo/bilbo.SlackBuild | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/desktop/bilbo/bilbo.SlackBuild b/desktop/bilbo/bilbo.SlackBuild deleted file mode 100644 index a13440a00b..0000000000 --- a/desktop/bilbo/bilbo.SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh -# Slackware build script for bilbo -# Written by Frank Perez <fperez.it@gmail.com> - -PRGNAM=bilbo -VERSION=${VERSION:-1.0} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -INSTDIR=${INSTDIR:-/usr} -MANDIR=${MANDIR:-$INSTDIR} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -set -e # Exit on most errors - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz -cd $PRGNAM -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -mkdir build -cd build - cmake \ - -DCMAKE_C_FLAGS="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=$INSTDIR \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DMAN_INSTALL_DIR=$MANDIR/man \ - -DCMAKE_BUILD_TYPE=$ARCH-slackware-linux .. - - make - make install DESTDIR=$PKG -cd .. - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true -) - -mkdir -p $PKG/$MANDIR/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS CHANGELOG COPYING README TODO \ - $PKG/$MANDIR/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/$MANDIR/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |