summaryrefslogtreecommitdiffstats
path: root/network/krb5/krb5.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2016-01-18 22:27:50 +0100
committer Willy Sudiarto Raharjo2016-01-18 22:27:50 +0100
commit8eb42bb6e63b9a36e648880bfbc26fd6e121b124 (patch)
tree5c298bb14db547a604fb1da8489c67811b221460 /network/krb5/krb5.SlackBuild
parentdb65f40cac4aea0d761bcbeec835d82c2b722839 (diff)
downloadslackbuilds-8eb42bb6e63b9a36e648880bfbc26fd6e121b124.tar.gz
network/krb5: Further refinement.
Thanks to Ryan for suggestion. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/krb5/krb5.SlackBuild')
-rw-r--r--network/krb5/krb5.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/network/krb5/krb5.SlackBuild b/network/krb5/krb5.SlackBuild
index 88101ed9d1..f5cd3800f4 100644
--- a/network/krb5/krb5.SlackBuild
+++ b/network/krb5/krb5.SlackBuild
@@ -67,10 +67,10 @@ cd $PRGNAM-$VERSION/src
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr/ \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/kerberos/man \
+ --mandir=/usr/man \
--enable-dns-for-realm \
--with-ldap \
--build=$ARCH-slackware-linux
@@ -86,8 +86,8 @@ chmod 0755 $PKG/etc/profile.d/*
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/kerberos/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/kerberos/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $CWD/README $CWD/README.krb5 $CWD/EXPORT $PKG/usr/doc/$PRGNAM-$VERSION
@@ -97,7 +97,6 @@ find $PKG/usr/doc -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}