aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-05-11 07:26:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-12 07:36:07 +0700
commit1742463382f51202b7c0fd242e7ccc0e218bd7e9 (patch)
tree32fccd8aa5d13a6eb3461fdf071c3b668d1b7eb5
parentd388493325f06cd87067aa86a1da8434c7810545 (diff)
misc/recode: Fix MAN and INFO dir.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--misc/recode/recode.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/misc/recode/recode.SlackBuild b/misc/recode/recode.SlackBuild
index 9f87ad960eb0..d04bf725afa1 100644
--- a/misc/recode/recode.SlackBuild
+++ b/misc/recode/recode.SlackBuild
@@ -34,7 +34,7 @@ PRGNAM=recode
SRCNAM=Recode
VERSION=${VERSION:-3.7_beta2}
SRCVER=$(echo $VERSION | tr _ -)
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -88,7 +88,9 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--enable-static=no \
- --libdir=/usr/lib"$LIBDIRSUFFIX" \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux \
--target=$ARCH-slackware-linux
@@ -96,12 +98,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-mv $PKG/usr/share/man/* $PKG/usr/man
-rm -rf $PKG/usr/share/man
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
-mv $PKG/usr/share/info $PKG/usr/
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*