audio/spandsp: Specify OUTPUT variable.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-04-05 10:35:47 +07:00
parent 1dbe44da35
commit f9a2de537c

View file

@ -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