summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-05 10:38:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-05 10:38:46 +0700
commit846f7f25c822b0d49fe536c69788e912a81202cc (patch)
tree29adb250dc31862da572d9d6edcf88fc026c0612
parent14883652f549b6229cf821d6b208d234334b2dd4 (diff)
downloadslackbuilds-846f7f25c822b0d49fe536c69788e912a81202cc.tar.gz
network/libcapi20: Specify OUTPUT variable.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/libcapi20/libcapi20.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/network/libcapi20/libcapi20.SlackBuild b/network/libcapi20/libcapi20.SlackBuild
index 2e7f44ff0d..88b1298293 100644
--- a/network/libcapi20/libcapi20.SlackBuild
+++ b/network/libcapi20/libcapi20.SlackBuild
@@ -58,7 +58,7 @@ fi
set -eu
rm -rf $PKG
-mkdir -p $TMP $PKG
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $EXDIR
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
@@ -68,7 +68,7 @@ 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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
@@ -82,9 +82,7 @@ make
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README COPYING COPYING.LIB \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README COPYING COPYING.LIB $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install