Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299622 - liblzf-3.5.ebuild (New Package)
Summary: liblzf-3.5.ebuild (New Package)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Default Assignee for New Packages
Keywords: EBUILD
Depends on:
Reported: 2010-01-04 15:47 UTC by lumato
Modified: 2010-01-04 17:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

Rewritten ebuild for liblzf-3.5 (liblzf-3.5.ebuild,654 bytes, text/plain)
2010-01-04 15:48 UTC, lumato

Note You need to log in before you can comment on or make changes to this bug.
Description lumato 2010-01-04 15:47:28 UTC
+++ This bug was initially created as a clone of Bug #62363 +++

Cloning as I'm unable to open the old bug.

From the website:
LibLZF is a very small data compression library.  It consists of only two .c and two .h files and is very easy to incorporate into your own programs.  The compression algorithm is very, very fast, yet still written in portable C.

As for how this is useful over dev-libs/lzo: it's more freely-licensed (BSD vs. GPL), smaller, and slightly faster.

I tested the speed by compressing quake2's pak0.pak on an AMD64 system:
          size (bytes)  user CPU time (from cache; averaged over 3 runs)
original  183 997 730    -
lzf       125 206 607    3.3463
lzop      120 524 324    3.4706
gzip -1    98 439 364    8.473
gzip       94 178 746   18.055
Comment 1 lumato 2010-01-04 15:48:53 UTC
Created attachment 215175 [details]
Rewritten ebuild for liblzf-3.5
Comment 2 lumato 2010-01-04 15:52:39 UTC
Oops, LICENSE should be "BSD-2".