Libjpeg: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
I added the package description from BLFS. |
||
| Line 12: | Line 12: | ||
---- | ---- | ||
== Introduction to libjpeg == | |||
The libjpeg package contains libraries that allow compression of image files based on the Joint Photographic Experts Group standard. It is a "lossy" compression algorithm. | |||
== Dependencies == | == Dependencies == | ||
Revision as of 01:08, 30 November 2006
| Download Source: | http://www.ijg.org/files/jpegsrc.v6b.tar.gz |
|---|---|
| Required Patch: | http://svn.cross-lfs.org/svn/repos/patches/jpeg/jpeg-6b-config_update-1.patch |
| Required Patch for PowerPC: | http://svn.cross-lfs.org/svn/repos/patches/jpeg/jpeg-6b-ppc-1.patch |
Introduction to libjpeg
The libjpeg package contains libraries that allow compression of image files based on the Joint Photographic Experts Group standard. It is a "lossy" compression algorithm.
Dependencies
Non-Multilib
Compile the package:
patch -Np1 -i ../jpeg-6b-config_update-1.patch && ./configure --prefix=/usr --enable-static --enable-shared && make
Install the package
make install
Multilib
32Bit
Compile the package:
patch -Np1 -i ../jpeg-6b-config_update-1.patch &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-static --enable-shared &&
make
Install the package
make install
N32
Compile the package:
patch -Np1 -i ../jpeg-6b-config_update-1.patch &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
--enable-static --enable-shared &&
make libdir=/usr/lib32
Install the package
make libdir=/usr/lib32 install
64Bit
Compile the package:
patch -Np1 -i ../jpeg-6b-config_update-1.patch &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
--enable-static --enable-shared &&
make libdir=/usr/lib64
Install the package
make libdir=/usr/lib64 install