summaryrefslogtreecommitdiff
path: root/misc/recode/recode.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/recode/recode.SlackBuild')
-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 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*