From 1742463382f51202b7c0fd242e7ccc0e218bd7e9 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 11 May 2014 07:26:37 +0700 Subject: misc/recode: Fix MAN and INFO dir. Signed-off-by: Willy Sudiarto Raharjo --- misc/recode/recode.SlackBuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'misc') diff --git a/misc/recode/recode.SlackBuild b/misc/recode/recode.SlackBuild index 9f87ad960e..d04bf725af 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* -- cgit v1.2.3