diff options
-rw-r--r-- | audio/pd/pd.SlackBuild | 52 | ||||
-rw-r--r-- | audio/pd/pd.info | 6 |
2 files changed, 31 insertions, 27 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/ diff --git a/audio/pd/pd.info b/audio/pd/pd.info index c93b199f05..5cd77cc680 100644 --- a/audio/pd/pd.info +++ b/audio/pd/pd.info @@ -1,8 +1,8 @@ PRGNAM="pd" -VERSION="0.43.0" +VERSION="0.45.3" HOMEPAGE="http://www-crca.ucsd.edu/~msp/software.html" -DOWNLOAD="http://www-crca.ucsd.edu/~msp/Software/pd-0.43-0.src.tar.gz" -MD5SUM="b7e7bab14220146748c2ed596e1c18f2" +DOWNLOAD="http://crca.ucsd.edu/~msp/Software/pd-0.45-3.src.tar.gz" +MD5SUM="461a3d0d558a4f45c49943234baa9ca8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |