Wv2

From CBLFS
Revision as of 04:00, 20 March 2010 by Chipster19 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://downloads.sourceforge.net/wvware/wv2-0.4.2.tar.bz2

Introduction to Wv2

wv2 is a portable C++ implemenation of a MS Word import library. Right now it supports importing of Word 97, 2000, and XP documents.

Project Homepage: http://wvware.sourceforge.net/

Dependencies

Required

Non-Multilib

Compile the package:

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DLIB_INSTALL_DIR=/usr/lib \
      -DCMAKE_BUILD_TYPE=Release  \
      -DLIB_SUFFIX= .. &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DLIB_INSTALL_DIR=/usr/lib \
      -DCMAKE_BUILD_TYPE=Release  \
      -DLIB_SUFFIX= .. &&
make

Install the package:

make install &&
mv -v /usr/bin/wv2-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DLIB_INSTALL_DIR=/usr/lib \
      -DCMAKE_BUILD_TYPE=Release  \
      -DLIB_SUFFIX= .. &&
make

Install the package:

make install &&
mv -v /usr/bin/wv2-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DLIB_INSTALL_DIR=/usr/lib \
      -DCMAKE_BUILD_TYPE=Release  \
      -DLIB_SUFFIX= .. &&
make

Install the package:

make install &&
mv -v /usr/bin/wv2-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/wv2-config

Contents

Installed Programs: wv2-config
Installed Libraries: libwv2.{la,so}
Installed Directories: /usr/include/wv2, /usr/lib/wvWare