Difference between revisions of "Wv2"
From CBLFS
Jump to navigationJump to searchChipster19 (talk | contribs) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
---- | ---- | ||
− | {{Package-Introduction|wv2 is a portable C++ implemenation of a MS Word import library. Right now it supports importing of Word 97, 2000, and XP documents.}} | + | {{Package-Introduction|wv2 is a portable C++ implemenation of a MS Word import library. Right now it supports importing of Word 97, 2000, and XP documents.|http://wvware.sourceforge.net/}} |
== Dependencies == | == Dependencies == | ||
=== Required === | === Required === | ||
+ | * [[CMake]] | ||
* [[libgsf]] | * [[libgsf]] | ||
Line 18: | Line 19: | ||
Compile the package: | Compile the package: | ||
− | + | cmake -DCMAKE_INSTALL_PREFIX=/usr \ | |
+ | -DLIB_INSTALL_DIR=/usr/lib \ | ||
+ | -DCMAKE_BUILD_TYPE=Release \ | ||
+ | -DLIB_SUFFIX= .. && | ||
make | make | ||
Line 33: | Line 37: | ||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | ||
− | + | cmake -DCMAKE_INSTALL_PREFIX=/usr \ | |
+ | -DLIB_INSTALL_DIR=/usr/lib \ | ||
+ | -DCMAKE_BUILD_TYPE=Release \ | ||
+ | -DLIB_SUFFIX= .. && | ||
make | make | ||
Line 47: | Line 54: | ||
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | ||
− | + | cmake -DCMAKE_INSTALL_PREFIX=/usr \ | |
− | + | -DLIB_INSTALL_DIR=/usr/lib \ | |
+ | -DCMAKE_BUILD_TYPE=Release \ | ||
+ | -DLIB_SUFFIX= .. && | ||
make | make | ||
Line 62: | Line 71: | ||
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | ||
− | + | cmake -DCMAKE_INSTALL_PREFIX=/usr \ | |
− | + | -DLIB_INSTALL_DIR=/usr/lib \ | |
+ | -DCMAKE_BUILD_TYPE=Release \ | ||
+ | -DLIB_SUFFIX= .. && | ||
make | make | ||
Line 83: | Line 94: | ||
|- | |- | ||
! Installed Directories: | ! Installed Directories: | ||
− | | /usr/include/wv2 | + | | /usr/include/wv2, /usr/lib/wvWare |
|} | |} | ||
+ | |||
+ | [[Category:General Libs]] |
Latest revision as of 03:00, 20 March 2010
Download Source: | http://downloads.sourceforge.net/wvware/wv2-0.4.2.tar.bz2 |
---|
Contents
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 |