Difference between revisions of "LibMPEG3"
From CBLFS
Jump to navigationJump to searchLine 26: | Line 26: | ||
./configure && | ./configure && | ||
mkdir $(uname -m) && | mkdir $(uname -m) && | ||
− | make | + | make CC="gcc -fPIC" |
Install the package: | Install the package: | ||
Line 41: | Line 41: | ||
./configure && | ./configure && | ||
mkdir $(cut -d- -f1 <<< $CLFS_TARGET32) && | mkdir $(cut -d- -f1 <<< $CLFS_TARGET32) && | ||
− | make CC="gcc ${BUILD32}" OBJDIR=$(cut -d- -f1 <<< $CLFS_TARGET32) | + | make CC="gcc ${BUILD32} -fPIC" OBJDIR=$(cut -d- -f1 <<< $CLFS_TARGET32) |
Install the package: | Install the package: | ||
Line 54: | Line 54: | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
mkdir $(uname -m) && | mkdir $(uname -m) && | ||
− | make CC="gcc ${BUILDN32}" | + | make CC="gcc ${BUILDN32} -fPIC" |
Install the package: | Install the package: | ||
Line 68: | Line 68: | ||
./configure && | ./configure && | ||
mkdir $(uname -m) && | mkdir $(uname -m) && | ||
− | make CC="gcc ${BUILD64}" | + | make CC="gcc ${BUILD64} -fPIC" |
Install the package: | Install the package: |
Revision as of 13:45, 5 January 2007
Download Source: | http://prdownloads.sourceforge.net/heroines/libmpeg3-1.7-src.tar.bz2 |
---|---|
Download Patch: | http://svn.cross-lfs.org/svn/repos/patches/libmpeg3/libmpeg3-1.7-blfs_install-1.patch |
Contents
Introduction to LibMPEG3
LibMPEG3 supports advanced editing and manipulation of MPEG streams.
Dependencies
Required
Non-Multilib
Configure and compile the package:
patch -Np1 -i ../libmpeg3-1.7-blfs_install-1.patch && ./configure && mkdir $(uname -m) && make CC="gcc -fPIC"
Install the package:
make install
Multilib
32Bit
Configure and compile the package:
patch -Np1 -i ../libmpeg3-1.7-blfs_install-1.patch && ./configure && mkdir $(cut -d- -f1 <<< $CLFS_TARGET32) && make CC="gcc ${BUILD32} -fPIC" OBJDIR=$(cut -d- -f1 <<< $CLFS_TARGET32)
Install the package:
make OBJDIR=$(cut -d- -f1 <<< $CLFS_TARGET32) install
N32
Configure and compile the package:
patch -Np1 -i ../libmpeg3-1.7-blfs_install-1.patch && CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && mkdir $(uname -m) && make CC="gcc ${BUILDN32} -fPIC"
Install the package:
sed -i 's:$(PREFIX)/lib:&32:g' Makefile && make install
64Bit
Configure and compile the package:
patch -Np1 -i ../libmpeg3-1.7-blfs_install-1.patch && ./configure && mkdir $(uname -m) && make CC="gcc ${BUILD64} -fPIC"
Install the package:
sed -i 's:$(PREFIX)/lib:&64:g' Makefile && make install
Contents
Installed Programs: | mpeg3cat, mpeg3dump, mpeg3peek, mpeg3toc |
---|---|
Installed Libraries: | libmpeg3.a |
Installed Directories: | /usr/share/doc/libmpeg3-1.7 |