Difference between revisions of "SMPEG"

From CBLFS
Jump to navigationJump to search
Line 2: Line 2:
 
|-
 
|-
 
!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-{{SMPEG-Version}}.tar.gz
 
|-
 
|-
 
!Download Patch:
 
!Download Patch:
| http://svn.cross-lfs.org/svn/repos/patches/smpeg/smpeg-0.4.4-gcc41_fixes-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/smpeg/smpeg-{{SMPEG-Version}}-gcc41_fixes-1.patch
 
|}
 
|}
  
Line 21: Line 21:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
+
  patch -Np1 -i ../smpeg-{{SMPEG-Version}}-gcc41_fixes-1.patch &&
 
  CC="g++" ./configure --prefix=/usr &&
 
  CC="g++" ./configure --prefix=/usr &&
 
  make
 
  make
Line 35: Line 35:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
+
  patch -Np1 -i ../smpeg-{{SMPEG-Version}}-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 50: Line 50:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
+
  patch -Np1 -i ../smpeg-{{SMPEG-Version}}-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 65: Line 65:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../smpeg-0.4.4-gcc41_fixes-1.patch &&
+
  patch -Np1 -i ../smpeg-{{SMPEG-Version}}-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 17:51, 17 December 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=5734"