diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-11-16 20:02:07 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-16 13:58:39 -0600 |
commit | d51cbb07a79a1dbc544180fab045d310f7ec59fc (patch) | |
tree | c9122013b83917fe2d7a2df03f231afbbfdf3726 /audio/pd/pd.SlackBuild | |
parent | 9aca669283c47ce7910b1bcde6c4cae941d0349f (diff) | |
download | slackbuilds-d51cbb07a79a1dbc544180fab045d310f7ec59fc.tar.gz |
audio/pd: Updated for version 0.45.3.
Disabled portmidi support because breaks the build.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/pd/pd.SlackBuild')
-rw-r--r-- | audio/pd/pd.SlackBuild | 52 |
1 files changed, 28 insertions, 24 deletions
diff --git a/audio/pd/pd.SlackBuild b/audio/pd/pd.SlackBuild index a97a04bc29..83d5e77671 100644 --- a/audio/pd/pd.SlackBuild +++ b/audio/pd/pd.SlackBuild @@ -14,11 +14,11 @@ # - include all .h files PRGNAM=pd -VERSION=${VERSION:-0.43.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.45.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCVERSION=0.43-0 +SRCVERSION=0.45-3 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -56,25 +56,29 @@ rm -rf $PRGNAM-$SRCVERSION tar xvf $CWD/$PRGNAM-$SRCVERSION.src.tar.gz cd $PRGNAM-$SRCVERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -cd src - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - ./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --datadir=/usr/share/pd \ - --localstatedir=/var \ - --enable-alsa \ - --enable-setuid \ - --enable-jack \ - --disable-portaudio \ - --enable-portmidi - make - make install DESTDIR=$PKG -cd .. +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +./autogen.sh + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --datadir=/usr/share/pd \ + --localstatedir=/var \ + --enable-alsa \ + --enable-setuid \ + --enable-jack \ + --disable-portaudio \ + --disable-portmidi +make +make install DESTDIR=$PKG 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 @@ -87,8 +91,8 @@ convert $TMP/$PRGNAM-$SRCVERSION/src/pd.ico $TMP/${PRGNAM}_48.xpm cp $TMP/${PRGNAM}_48-3.xpm $PKG/usr/share/$PRGNAM # For 0.43-0 version -mkdir -p $PKG/usr/lib/pd/tcl/ -cp -a $TMP/$PRGNAM-$SRCVERSION/tcl/*.tcl $PKG/usr/lib/pd/tcl/ +#mkdir -p $PKG/usr/lib/pd/tcl/ +#cp -a $TMP/$PRGNAM-$SRCVERSION/tcl/*.tcl $PKG/usr/lib/pd/tcl/ # copy all header files (for pd_mrpeach) cp -p $TMP/$PRGNAM-$SRCVERSION/src/*.h $PKG/usr/include/ |