diff options
author | errordeveloper <errordeveloper[AT]gmail.com> | 2010-05-13 00:21:57 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:21:57 +0200 |
commit | 74e5642d2acc224990f89848cf2f43e6488d3a2c (patch) | |
tree | efaddd4f44e15719c4c2ef5529eb5babc3b344a7 | |
parent | eb4d93173943de4eb57d50d94fc32e9423daa81c (diff) |
audio/pd: Updated for version 0.42.4
-rw-r--r-- | audio/pd/pd.SlackBuild | 19 | ||||
-rw-r--r-- | audio/pd/pd.info | 2 |
2 files changed, 15 insertions, 6 deletions
diff --git a/audio/pd/pd.SlackBuild b/audio/pd/pd.SlackBuild index 821f9c3d09d7..b0340df9e6a7 100644 --- a/audio/pd/pd.SlackBuild +++ b/audio/pd/pd.SlackBuild @@ -14,6 +14,7 @@ VERSION=$(echo $SRC_VERSION | tr - .) ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -21,8 +22,13 @@ 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 @@ -41,20 +47,21 @@ cd src CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --libdir=/usr/lib \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --datadir=/usr/share/pd \ --localstatedir=/var \ --enable-alsa \ --enable-setuid make - make install \ - DESTDIR=$PKG + 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 - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + 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 @@ -67,4 +74,4 @@ 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 +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/audio/pd/pd.info b/audio/pd/pd.info index 51254e149500..36796726e35c 100644 --- a/audio/pd/pd.info +++ b/audio/pd/pd.info @@ -2,7 +2,9 @@ PRGNAM="pd" VERSION="0.42.4" HOMEPAGE="http://www-crca.ucsd.edu/~msp/software.html" DOWNLOAD="http://www-crca.ucsd.edu/~msp/Software/pd-0.42-4.src.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="13a0a5eeeb7ebcda10f86cff2558a59f" +MD5SUM_x86_64="" MAINTAINER="errordeveloper" EMAIL="errordeveloper[AT]gmail.com" APPROVED="dsomero" |