Browse Source

ap/texi2html: Updated for Slackware-13.0.

slackware-14.2
Damien Goutte-Gattat 13 years ago
parent
commit
691750a0c2
  1. 12
      ap/texi2html/texi2html.SlackBuild

12
ap/texi2html/texi2html.SlackBuild

@ -36,14 +36,16 @@ ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://download.savannah.gnu.org/releases/texi2html/$ARCHIVE}
# Build infos
NAMETGZ=${NAMETGZ:-texi2html}
BUILD=${BUILD:-2GGD}
NAMEPKG=${NAMEPKG:-texi2html}
BUILD=${BUILD:-3GGD}
ARCH=${ARCH:-i486}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMETGZ}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e # Quit if a command returns non-zero
@ -75,7 +77,7 @@ cd $NAME
--prefix=/usr \
--mandir=/usr/man \
--infodir=/usr/info
make
make -j $JOBS
make install DESTDIR=$PKG
# Compress man and info pages
@ -97,7 +99,7 @@ cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMETGZ-$VERSION-$ARCH-$BUILD.tgz
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"

Loading…
Cancel
Save