Difference between revisions of "SMPEG"

From CBLFS
Jump to navigationJump to search
 
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| ftp://sunsite.dk/pub/os/linux/loki/open-source/smpeg/smpeg-0.4.4.tar.gz
 
| 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
 
|}
 
|}
  
Line 18: Line 21:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
 +
CC="g++" ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 31: Line 35:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
 
  CC="g++ ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  CC="g++ ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
Line 45: Line 50:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
 
  CC="g++ ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  CC="g++ ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
Line 59: Line 65:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
 
  CC="g++ ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  CC="g++ ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \

Revision as of 07:06, 4 November 2006

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=3641"