Difference between revisions of "XMMS"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
Line 9: Line 9:
  
 
----
 
----
 +
 +
== Introduction to XMMS ==
 +
 +
XMMS is an audio player for the X Windows System.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 15:49, 6 December 2006

Download Source: http://www.xmms.org/files/1.2.x/xmms-1.2.10.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/xmms/xmms-1.2.10-gcc4-1.patch

Introduction to XMMS

XMMS is an audio player for the X Windows System.

Dependencies

Required

Optional

Non-Multilib

Compile the package:

patch -Np1 -i ../xmms-1.2.10-gcc4-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../xmms-1.2.10-gcc4-1.patch &&
CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr &&
make

Install the package

make install &&
mv -v /usr/bin/xmms-config{,-32}

N32

Compile the package:

sed -i "/_LIBS=/s:/lib:&32:g" configure &&
patch -Np1 -i ../xmms-1.2.10-gcc4-1.patch &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 &&
sed -i -e "/sys_lib_search_path_spec/s:/lib:&32:g" \
       -e "/sys_lib_dlsearch_path_spec/s:lib:&32:g" libtool &&
make

Install the package

make install &&
mv -v /usr/bin/xmms-config{,-n32}

64Bit

Compile the package:

sed -i "/_LIBS=/s:/lib:&64:g" configure &&
patch -Np1 -i ../xmms-1.2.10-gcc4-1.patch &&
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 &&
sed -i -e "/sys_lib_search_path_spec/s:/lib:&64:g" \
       -e "/sys_lib_dlsearch_path_spec/s:lib:&64:g" libtool &&
make

Install the package

make install &&
mv -v /usr/bin/xmms-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/xmms-config &&
install -v -m755 -d /usr/share/doc/xmms-1.2.10 &&
install -v -m644 FAQ README /usr/share/doc/xmms-1.2.10