mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Turn LZO into working recipe.
This commit is contained in:
@@ -1,28 +1,74 @@
|
||||
DESCRIPTION="An extremely fast compression and decompression library"
|
||||
SUMMARY="LZO is a portable lossless data compression library written in ANSI C."
|
||||
DESCRIPTION="
|
||||
LZO is a data compression library which is suitable for data de-/compression in
|
||||
real-time. This means it favours speed over compression ratio.
|
||||
|
||||
LZO is written in ANSI C. Both the source code and the compressed data format
|
||||
are designed to be portable across platforms.
|
||||
|
||||
LZO implements a number of algorithms with the following features:
|
||||
* Decompression is simple and *very* fast.
|
||||
* Requires no memory for decompression.
|
||||
* Compression is pretty fast.
|
||||
* Requires 64 kB of memory for compression.
|
||||
* Allows you to dial up extra compression at a speed cost in the compressor.
|
||||
The speed of the decompressor is not reduced.
|
||||
* Includes compression levels for generating pre-compressed data which achieve
|
||||
a quite competitive compression ratio.
|
||||
* There is also a compression level which needs only 8 kB for compression.
|
||||
* Algorithm is thread safe.
|
||||
* Algorithm is lossless.
|
||||
* LZO supports overlapping compression and in-place decompression.
|
||||
"
|
||||
HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"
|
||||
SRC_URI="http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz"
|
||||
CHECKSUM_MD5="95380bd4081f85ef08c5209f4107e9f8"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
lzo$secondaryArchSuffix = $portVersion
|
||||
lib:liblzo2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd lzo-2.06
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd lzo-2.06
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib liblzo2
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd lzo-2.06
|
||||
make check
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
lzo${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:liblzo2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
lzo$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="1996-2011 Markus F.X.J Oberhumer"
|
||||
|
||||
Reference in New Issue
Block a user