From f9a2de537cc8c07ffb1e0734d3e36906113a5aef Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 5 Apr 2015 10:35:47 +0700 Subject: audio/spandsp: Specify OUTPUT variable. Signed-off-by: Willy Sudiarto Raharjo --- audio/spandsp/spandsp.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'audio') diff --git a/audio/spandsp/spandsp.SlackBuild b/audio/spandsp/spandsp.SlackBuild index f044b061de..fff5c41b59 100644 --- a/audio/spandsp/spandsp.SlackBuild +++ b/audio/spandsp/spandsp.SlackBuild @@ -58,12 +58,16 @@ fi set -eu rm -rf $PKG -mkdir -p $TMP $PKG +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION$SUBVERSION.tar.gz chown -R root:root $PRGNAM-$VERSION -chmod -R u+w,go+r-w,a-s $PRGNAM-$VERSION +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 {} \; cd $PRGNAM-$VERSION CXXFLAGS="$SLKCFLAGS" \ @@ -78,8 +82,7 @@ make make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog DueDiligence INSTALL NEWS README README.testdata \ +cp -a AUTHORS COPYING ChangeLog DueDiligence INSTALL NEWS README README.testdata \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3