SMPEG

From CBLFS
Revision as of 17:51, 17 December 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: ftp://sunsite.dk/pub/os/linux/loki/open-source/smpeg/smpeg-0.4.4.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/smpeg/smpeg-0.4.4-gcc41_fixes-1.patch

Dependencies

Required

Optional

Non-Multilib

Compile the package:

patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
CC="g++" ./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
CC="g++ ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

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

N32

Compile the package:

patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
CC="g++ ${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 &&
mv -v /usr/bin/smpeg-config{,-n32}

64Bit

Compile the package:

patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
CC="g++ ${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 &&
mv -v /usr/bin/smpeg-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/smpeg-config
Retrieved from "?title=SMPEG&oldid=5734"