LZO2: Difference between revisions

From CBLFS
Jump to navigationJump to search
Kalessin (talk | contribs)
I added the "Contents" section from BLFS.
No edit summary
Line 2: Line 2:
|-
|-
!Download Source:
!Download Source:
| http://www.oberhumer.com/opensource/lzo/download/lzo-2.02.tar.gz
| http://www.oberhumer.com/opensource/lzo/download/lzo-{{LZO-Version}}.tar.gz
|}
|}


Line 23: Line 23:


  make install &&
  make install &&
  install -v -m755 -d /usr/share/doc/lzo-2.02 &&
  install -v -m755 -d /usr/share/doc/lzo-{{LZO-Version}} &&
  install -v -m644 doc/* /usr/share/doc/lzo-2.02
  install -v -m644 doc/* /usr/share/doc/lzo-{{LZO-Version}}


== Multilib ==
== Multilib ==
Line 62: Line 62:


  make install &&
  make install &&
  install -v -m755 -d /usr/share/doc/lzo-2.02 &&
  install -v -m755 -d /usr/share/doc/lzo-{{LZO-Version}} &&
  install -v -m644 doc/* /usr/share/doc/lzo-2.02
  install -v -m644 doc/* /usr/share/doc/lzo-{{LZO-Version}}


= Contents =
= Contents =
Line 76: Line 76:
|-valign="top"
|-valign="top"
! Installed Directories:
! Installed Directories:
| /usr/include/lzo and /usr/share/doc/lzo-2.02
| /usr/include/lzo and /usr/share/doc/lzo-{{LZO-Version}}
|}
|}



Revision as of 21:42, 16 December 2006

Download Source: http://www.oberhumer.com/opensource/lzo/download/lzo-Template:LZO-Version.tar.gz

Introduction to LZO

LZO is a data compression library which is suitable for data decompression and compression in real-time. This means it favors speed over compression ratio.

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-shared &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/lzo-Template:LZO-Version &&
install -v -m644 doc/* /usr/share/doc/lzo-Template:LZO-Version

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-shared &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --enable-shared \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --enable-shared \
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/lzo-Template:LZO-Version &&
install -v -m644 doc/* /usr/share/doc/lzo-Template:LZO-Version

Contents

Installed Programs: None
Installed Libraries: liblzo2.{so,a}
Installed Directories: /usr/include/lzo and /usr/share/doc/lzo-Template:LZO-Version

Short Descriptions

liblzo2.{so,a} is a data compression and decompression library.
Retrieved from "?title=LZO2&oldid=4875"