Libofa

From CBLFS
Jump to navigationJump to search
Download Source:

http://musicip-libofa.googlecode.com/files/libofa-0.9.3.tar.gz

Required Patch: http://svn.cross-lfs.org/svn/repos/patches/libofa/libofa-0.9.3-update_to_r8438.patch

Introduction to Libofa

Project Homepage: Unknown

Dependencies

Required

Non-Multilib

Compile the package:

patch -Np1 -i ../libofa-0.9.3-update_to_r8438.patch &&
sed -i "1i\#include <stdlib.h>" lib/signal_op.cpp &&
sed -i "1i\#include <stdio.h>\n#include <string.h>" examples/example.cpp &&
sed -i "1i\#include <string.h>" examples/protocol.cpp &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../libofa-0.9.3-update_to_r8438.patch &&
sed -i "1i\#include <stdlib.h>" lib/signal_op.cpp &&
sed -i "1i\#include <stdio.h>\n#include <string.h>" examples/example.cpp &&.
sed -i "1i\#include <string.h>" examples/protocol.cpp &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../libofa-0.9.3-update_to_r8438.patch &&
sed -i "1i\#include <stdlib.h>" lib/signal_op.cpp &&
sed -i "1i\#include <stdio.h>\n#include <string.h>" examples/example.cpp &&
sed -i "1i\#include <string.h>" examples/protocol.cpp &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../libofa-0.9.3-update_to_r8438.patch &&
sed -i "1i\#include <stdlib.h>" lib/signal_op.cpp &&
sed -i "1i\#include <stdio.h>\n#include <string.h>" examples/example.cpp &&
sed -i "1i\#include <string.h>" examples/protocol.cpp &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install