Difference between revisions of "SMPEG"

From CBLFS
Jump to navigationJump to search
Line 9: Line 9:
  
 
----
 
----
 +
 +
{{Blank-Package-Introduction}}
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 17:01, 16 April 2007

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

Introduction to SMPEG

Project Homepage: Unknown

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