Difference between revisions of "Libofa"
From CBLFS
Jump to navigationJump to searchAndrewhowson (talk | contribs) |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http:// | + | | |
+ | http://musicip-libofa.googlecode.com/files/libofa-{{Libofa-Version}}.tar.gz | ||
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/libofa/libofa- | + | | http://svn.cross-lfs.org/svn/repos/patches/libofa/libofa-{{Libofa-Version}}-update_to_r8438.patch |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Blank-Package-Introduction}} | ||
== Dependencies == | == Dependencies == | ||
Line 15: | Line 18: | ||
* [[Expat]] | * [[Expat]] | ||
* [[Curl]] | * [[Curl]] | ||
− | * [[ | + | * [[FFTW]] |
== Non-Multilib == | == Non-Multilib == | ||
Line 21: | Line 24: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../libofa- | + | 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 35: | Line 41: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../libofa- | + | patch -Np1 -i ../libofa-{{Libofa-Version}}-update_to_r8438.patch && |
− | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | + | 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 | make | ||
Line 47: | Line 56: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../libofa- | + | patch -Np1 -i ../libofa-{{Libofa-Version}}-update_to_r8438.patch && |
− | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | + | 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 | make | ||
Line 59: | Line 71: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../libofa- | + | patch -Np1 -i ../libofa-{{Libofa-Version}}-update_to_r8438.patch && |
− | CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && | + | 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 | 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 |
Contents
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