Difference between revisions of "Libofa"

From CBLFS
Jump to navigationJump to search
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://www.musicip.com/dns/files/libofa-{{Libofa-Version}}.tar.gz
+
|  
 +
http://musicip-libofa.googlecode.com/files/libofa-{{Libofa-Version}}.tar.gz
 
|-
 
|-
 
!Required Patch:
 
!Required Patch:
Line 24: Line 25:
  
 
  patch -Np1 -i ../libofa-{{Libofa-Version}}-update_to_r8438.patch &&
 
  patch -Np1 -i ../libofa-{{Libofa-Version}}-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 &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 38: Line 42:
  
 
  patch -Np1 -i ../libofa-{{Libofa-Version}}-update_to_r8438.patch &&
 
  patch -Np1 -i ../libofa-{{Libofa-Version}}-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 &&
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 
  make
 
  make
Line 50: Line 57:
  
 
  patch -Np1 -i ../libofa-{{Libofa-Version}}-update_to_r8438.patch &&
 
  patch -Np1 -i ../libofa-{{Libofa-Version}}-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 &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
Line 62: Line 72:
  
 
  patch -Np1 -i ../libofa-{{Libofa-Version}}-update_to_r8438.patch &&
 
  patch -Np1 -i ../libofa-{{Libofa-Version}}-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 &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
Line 68: Line 81:
  
 
  make install
 
  make install
 +
 +
[[Category:Media Libraries]]

Latest revision as of 11:05, 10 March 2011

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