summaryrefslogtreecommitdiff
path: root/audio/lmms/lmms.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@gmail.com>2010-05-20 23:20:36 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-21 00:49:17 -0500
commit031004376eba9c714c554281faf83c2e6340cca0 (patch)
treeb339fd89bfcdba8144685d8a81c797bd9e01a062 /audio/lmms/lmms.SlackBuild
parent48439c993cc399c84bb1e3374a3771abc55c4cb4 (diff)
downloadslackbuilds-031004376eba9c714c554281faf83c2e6340cca0.tar.gz
audio/lmms: Removed (build failure)
Diffstat (limited to 'audio/lmms/lmms.SlackBuild')
-rw-r--r--audio/lmms/lmms.SlackBuild62
1 files changed, 0 insertions, 62 deletions
diff --git a/audio/lmms/lmms.SlackBuild b/audio/lmms/lmms.SlackBuild
deleted file mode 100644
index 43635ae143..0000000000
--- a/audio/lmms/lmms.SlackBuild
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-#
-# SlackBuild for Linux MultiMedia Studio
-# Written by hackedhead (Andrew Lindberg) <alindberg at fastmail dot net>
-
-PRGNAM=lmms
-VERSION=${VERSION:-0.4.2}
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-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
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-mkdir -p $PRGNAM-$VERSION/build
-cd $PRGNAM-$VERSION/build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- ..
- make VERBOSE=1
- make VERBOSE=1 DESTDIR=$PKG install
-cd ..
-
-# Move man page(s) to the right place
-mv $PKG/usr/share/man $PKG/usr
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}