Difference between revisions of "Libofa"

From CBLFS
Jump to navigationJump to search
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://www.musicdns.org/themes/musicdns_org/downloads/libofa-{{Libofa-Version}}.tar.gz
+
|  
 +
http://musicip-libofa.googlecode.com/files/libofa-{{Libofa-Version}}.tar.gz
 
|-
 
|-
 
!Required Patch:
 
!Required Patch:
Line 9: Line 10:
  
 
----
 
----
 +
 +
{{Blank-Package-Introduction}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 22: 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 36: 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 48: 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 60: 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 66: Line 81:
  
 
  make install
 
  make install
 +
 +
[[Category:Media Libraries]]

Latest revision as of 10: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
Retrieved from "?title=Libofa&oldid=20997"