Difference between revisions of "Libsndfile"

From CBLFS
Jump to navigationJump to search
(Dependencies)
Line 13: Line 13:
 
== Dependencies ==
 
== Dependencies ==
 
=== Required  ===
 
=== Required  ===
* [[sqlite]]
+
* [[SQLite]]
* [[flac]]
+
* [[FLAC]]
* [[alsa]]
+
* [[ALSA Library]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==

Revision as of 13:03, 25 March 2007

Download Source: http://www.mega-nerd.com/libsndfile/libsndfile-1.0.17.tar.gz

Introduction to libsndfile

Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.

Dependencies

Required

Non-Multilib

Configure and compile the package:

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

Install the package:

make install

Multilib

32Bit

Configure and compile the package:

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

Install the package:

make install

N32

Configure and compile the package:

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

Install the package:

make install

64Bit

Configure and compile the package:

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

Install the package:

make install