mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/libkqueue: Honor $OUTPUT directory.
Install libs and man pages in correct location. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
1dbd124c1b
commit
d30947c2d6
1 changed files with 4 additions and 2 deletions
|
@ -78,6 +78,8 @@ find -L . \
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var
|
--localstatedir=/var
|
||||||
|
|
||||||
|
@ -91,10 +93,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
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
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
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}
|
||||||
|
|
Loading…
Reference in a new issue