mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/wv: Updated for version 1.2.4
This commit is contained in:
parent
1bfbb5ada0
commit
e1ee9cc8e5
3 changed files with 22 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
|||
wv (MS Word document import library)
|
||||
wv converts Word 2,6,7,8,9 files to html and latex.
|
||||
The Word 2 conversion is still incomplete (no formatting),
|
||||
but it will do a passable job extracting the text, which
|
||||
is what you probably want anyway.
|
||||
|
||||
wv converts Word 2,6,7,8,9 files to html and latex. The Word 2 conversion is
|
||||
still incomplete (no formatting), but it will do a passable job extracting
|
||||
the text, which is what you probably want anyway.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for wv
|
||||
|
||||
# Copyright 2008 Robby Workman, Northport, Alabama, USA
|
||||
# Copyright 2008-2009 Robby Workman, Northport, Alabama, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=wv
|
||||
VERSION=1.2.1
|
||||
VERSION=1.2.4
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "s390" ]; then
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -60,19 +63,21 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--enable-static=no \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--host=$ARCH-slackware-linux
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null || true
|
||||
)
|
||||
|
||||
( cd $PKG/usr/man
|
||||
|
@ -88,4 +93,4 @@ mkdir -p $PKG/install
|
|||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="wv"
|
||||
VERSION="1.2.1"
|
||||
VERSION="1.2.4"
|
||||
HOMEPAGE="http://wvware.sourceforge.net"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/wvware/wv-1.2.1.tar.gz"
|
||||
MD5SUM="d757080af4595839d5d82a1a573c692c"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/wvware/wv-1.2.4.tar.gz"
|
||||
MD5SUM="c1861c560491f121e12917fa76970ac5"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Robby Workman"
|
||||
EMAIL="rw@rlworkman.net"
|
||||
APPROVED="David Somero"
|
||||
APPROVED="pprkut"
|
||||
|
|
Loading…
Reference in a new issue