aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2013-11-16 08:37:32 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-11-16 15:07:29 -0500
commitd30947c2d623e92edd7c5f461916776818198a70 (patch)
tree932ed5d19ebe677e0deb4dfae0f394b2ec27444b /libraries
parent1dbd124c1bda3e2595b235646590c2532a08e0bc (diff)
libraries/libkqueue: Honor $OUTPUT directory.
Install libs and man pages in correct location. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libkqueue/libkqueue.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/libraries/libkqueue/libkqueue.SlackBuild b/libraries/libkqueue/libkqueue.SlackBuild
index 4c1e3454c3b20..1b2f6d8fe74ed 100644
--- a/libraries/libkqueue/libkqueue.SlackBuild
+++ b/libraries/libkqueue/libkqueue.SlackBuild
@@ -78,6 +78,8 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --mandir=/usr/man \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var
@@ -91,10 +93,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/share/man/man2 -type f -exec gzip {} \;
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}