diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-11 20:30:54 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-11 20:30:54 +0200 |
commit | 5a1630a1a380f9db51b773e411549cd275e1a385 (patch) | |
tree | 7caf0861cc626e7476e0d7473dda7130812d9713 /multimedia/pd/pd.SlackBuild | |
parent | b5ec065f64180edee4af1e1df2cecf648d6c1259 (diff) | |
download | slackbuilds-5a1630a1a380f9db51b773e411549cd275e1a385.tar.gz |
audio/pd: Moved from multimedia
Diffstat (limited to 'multimedia/pd/pd.SlackBuild')
-rw-r--r-- | multimedia/pd/pd.SlackBuild | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/multimedia/pd/pd.SlackBuild b/multimedia/pd/pd.SlackBuild deleted file mode 100644 index 81cbf40658..0000000000 --- a/multimedia/pd/pd.SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -# Slackware build script for Pure Data - -# Written by ilya .d <errordeveloper-AT-gmail-DOT-com> -# Modified by Robby Workman <rworkman@slackbuilds.org> with minor stuff: -# -fix makefile patch to use DESTDIR correctly -# -miscellanous script tweaks -# No additional license terms - -PRGNAM=pd -SRC_VERSION=0.40-3 -VERSION=$(echo $SRC_VERSION | tr - .) -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -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" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$SRC_VERSION.src.tar.gz -cd $PRGNAM-$SRC_VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -# Fix DESTDIR support in the makefile source -patch -p1 < $CWD/makefile.in.DESTDIR.diff - -cd src - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - ./configure \ - --prefix=/usr \ - --libdir=/usr/lib \ - --sysconfdir=/etc \ - --datadir=/usr/share/pd \ - --localstatedir=/var \ - --enable-alsa \ - --enable-setuid - make - make install \ - pddocdir=/usr/doc/$PRGNAM-$VERSION \ - DESTDIR=$PKG -cd - - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a INSTALL.txt README.txt LICENSE.txt src/CHANGELOG.txt \ - $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.tgz |