Difference between revisions of "LibMPEG3"

From CBLFS
Jump to navigationJump to search
 
 
(8 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/heroines/libmpeg3-1.7-src.tar.bz2
+
| http://prdownloads.sourceforge.net/heroines/libmpeg3-{{LibMPEG3-Version}}-src.tar.bz2
 
|-
 
|-
 
!Download Patch:
 
!Download Patch:
| http://www.linuxfromscratch.org/patches/blfs/svn/libmpeg3-1.6-blfs_install-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/libmpeg3/libmpeg3-{{LibMPEG3-Version}}-blfs_install-1.patch
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|LibMPEG3 supports advanced editing and manipulation of MPEG streams.}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 19: Line 21:
 
Configure and compile the package:
 
Configure and compile the package:
  
  patch -Np1 -i ../libmpeg3-1.6-blfs_install-1.patch &&
+
  patch -Np1 -i ../libmpeg3-{{LibMPEG3-Version}}-blfs_install-1.patch &&
  ./configure --prefix=/usr &&
+
  ./configure &&
  make
+
mkdir $(uname -m) &&
 
+
  make CC="gcc -fPIC"
'''''Perhaps one should type `make' twice here to continue build process.'''''
 
  
 
Install the package:
 
Install the package:
Line 35: Line 36:
 
Configure and compile the package:
 
Configure and compile the package:
  
  patch -Np1 -i ../libmpeg3-1.6-blfs_install-1.patch &&
+
  patch -Np1 -i ../libmpeg3-{{LibMPEG3-Version}}-blfs_install-1.patch &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  ./configure &&
make
+
mkdir $(cut -d- -f1 <<< $CLFS_TARGET32) &&
 
+
make CC="gcc ${BUILD32} -fPIC" OBJDIR=$(cut -d- -f1 <<< $CLFS_TARGET32)
'''''Perhaps one should type `make' twice here to continue build process.'''''
 
  
 
Install the package:
 
Install the package:
  
  make install
+
  make OBJDIR=$(cut -d- -f1 <<< $CLFS_TARGET32) install
  
 
=== N32 ===
 
=== N32 ===
Line 49: Line 49:
 
Configure and compile the package:
 
Configure and compile the package:
  
  patch -Np1 -i ../libmpeg3-1.6-blfs_install-1.patch &&
+
  patch -Np1 -i ../libmpeg3-{{LibMPEG3-Version}}-blfs_install-1.patch &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
  make
+
  mkdir $(uname -m) &&
 
+
make CC="gcc ${BUILDN32} -fPIC"
'''''Perhaps one should type `make' twice here to continue build process.'''''
 
  
 
Install the package:
 
Install the package:
  
 +
sed -i 's:$(PREFIX)/lib:&32:g' Makefile &&
 
  make install
 
  make install
  
Line 63: Line 63:
 
Configure and compile the package:
 
Configure and compile the package:
  
  patch -Np1 -i ../libmpeg3-1.6-blfs_install-1.patch &&
+
  patch -Np1 -i ../libmpeg3-{{LibMPEG3-Version}}-blfs_install-1.patch &&
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
  ./configure &&
make
+
mkdir $(uname -m) &&
 
+
make CC="gcc ${BUILD64} -fPIC"
'''''Perhaps one should type `make' twice here to continue build process.'''''
 
  
 
Install the package:
 
Install the package:
  
 +
sed -i 's:$(PREFIX)/lib:&64:g' Makefile &&
 
  make install
 
  make install
  
----
+
= Contents =
*[[Main Page]]
+
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| mpeg3cat, mpeg3dump, mpeg3peek, mpeg3toc
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libmpeg3.a
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/share/doc/libmpeg3-{{LibMPEG3-Version}}
 +
|}
 +
 
 +
[[Category:Media Libraries]]

Latest revision as of 16:29, 19 March 2009

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

Introduction to LibMPEG3

LibMPEG3 supports advanced editing and manipulation of MPEG streams.

Project Homepage: Unknown

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