diff options
Diffstat (limited to 'audio/SuperCollider/SuperCollider.SlackBuild')
-rw-r--r-- | audio/SuperCollider/SuperCollider.SlackBuild | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/audio/SuperCollider/SuperCollider.SlackBuild b/audio/SuperCollider/SuperCollider.SlackBuild index 5028954082..0fae6c23bf 100644 --- a/audio/SuperCollider/SuperCollider.SlackBuild +++ b/audio/SuperCollider/SuperCollider.SlackBuild @@ -6,7 +6,7 @@ # contact: pfeifer[dot]felix[at]googlemail[dot]com PRGNAM=SuperCollider -VERSION=${VERSION:-3.6.6} +VERSION=${VERSION:-3.10.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -23,13 +23,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +if [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then @@ -55,13 +49,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -if [ "$LIBDIRSUFFIX" = "64" ]; then - patch -p1 < $CWD/fixups_for_x86_64.diff -fi - -# Fix build failure with gcc-4.9 (thanks to Debian) -patch -p1 < $CWD/ftbfs-gcc-4.9.patch - # Pass AVAHI=yes to the script to enable avahi support if [ "${AVAHI:-no}" = "yes" ]; then avahi="OFF"; else avahi="ON"; fi @@ -96,19 +83,19 @@ cd - # install scvim cd editors/scvim mkdirhier $PKG/usr/share/scvim/vim - cp bin/* $PKG/usr/bin + cp -rf bin/* $PKG/usr/bin cp -r ftplugin $PKG/usr/share/scvim/vim # copy this and the 2 following to cp -r indent $PKG/usr/share/scvim/vim # the vim runtimepath cp -r syntax $PKG/usr/share/scvim/vim # any idea where this might be globally? - cp scvimrc $PKG/usr/share/scvim + #cp scvimrc $PKG/usr/share/scvim cd - 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 -mv $PKG/usr/share/doc $PKG/usr -mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING README_LINUX.txt $PKG/usr/doc/$PRGNAM-$VERSION +#mv $PKG/usr/share/doc $PKG/usr +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS CHANGELOG* COPYING README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |