XMMS

From CBLFS
Revision as of 12:20, 7 October 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search
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

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:

sed -i 's:${exec_prefix}/lib:@libdir@:g' libmikmod-config.in &&
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 's:${exec_prefix}/lib:@libdir@:g' libmikmod-config.in &&
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 &&
make

Install the package

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

64Bit

Compile the package:

sed -i 's:${exec_prefix}/lib:@libdir@:g' libmikmod-config.in &&
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 &&
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
Retrieved from "?title=XMMS&oldid=2560"