Difference between revisions of "LibOFX"

From CBLFS
Jump to navigationJump to search
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://downloads.sourceforge.net/libofx/libofx-{{LibOFX-Version}}.tar.gz
 
| http://downloads.sourceforge.net/libofx/libofx-{{LibOFX-Version}}.tar.gz
 +
|-
 +
!Optional Patch :
 +
| http://svn.cross-lfs.org/svn/repos/patches/libofx/libofx-{{LibOFX-Version}}-gcc4.3-1.patch
 
|}
 
|}
  
Line 23: Line 26:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
If you have gcc4.3, apply this patch :
 +
 +
patch -Np1 -i ../libofx-{{LibOFX-Version}}-gcc4.3-1.patch
  
 
Compile the package:
 
Compile the package:
Line 36: Line 43:
  
 
=== 32Bit ===
 
=== 32Bit ===
 +
 +
If you have gcc4.3, apply this patch :
 +
 +
patch -Np1 -i ../libofx-{{LibOFX-Version}}-gcc4.3-1.patch
  
 
Compile the package:
 
Compile the package:
Line 49: Line 60:
  
 
=== N32 ===
 
=== N32 ===
 +
 +
If you have gcc4.3, apply this patch :
 +
 +
patch -Np1 -i ../libofx-{{LibOFX-Version}}-gcc4.3-1.patch
  
 
Compile the package:
 
Compile the package:
Line 63: Line 78:
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
If you have gcc4.3, apply this patch :
 +
 +
patch -Np1 -i ../libofx-{{LibOFX-Version}}-gcc4.3-1.patch
  
 
Compile the package:
 
Compile the package:

Revision as of 08:55, 20 April 2008

Download Source: http://downloads.sourceforge.net/libofx/libofx-0.9.0.tar.gz
Optional Patch : http://svn.cross-lfs.org/svn/repos/patches/libofx/libofx-0.9.0-gcc4.3-1.patch

Introduction to LibOFX

LibOFX is a generic library to allow financial software to easily support the Open Financial eXchange specification. It can be used with financial programs such as GnuCash and KMyMoney.

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

Dependencies

Required

Recommended

Optional

Non-Multilib

If you have gcc4.3, apply this patch :

patch -Np1 -i ../libofx-0.9.0-gcc4.3-1.patch

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

If you have gcc4.3, apply this patch :

patch -Np1 -i ../libofx-0.9.0-gcc4.3-1.patch

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=/usr &&
make

Install the package:

make install

N32

If you have gcc4.3, apply this patch :

patch -Np1 -i ../libofx-0.9.0-gcc4.3-1.patch

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 \
    --with-opensp-libs=/usr/lib32 &&
make

Install the package:

make install

64Bit

If you have gcc4.3, apply this patch :

patch -Np1 -i ../libofx-0.9.0-gcc4.3-1.patch

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 \
    --with-opensp-libs=/usr/lib64 &&
make

Install the package:

make install

Contents

Installed Programs: ofxconnect, ofxdump, ofx2qif
Installed Libraries: libofx.{a,la,so}
Installed Directories: /usr/include/libofx, /usr/share/doc/libofx, /usr/share/libofx