Add Sortix libz

This commit is contained in:
Puck Meerburg
2015-11-08 15:04:03 +00:00
parent 5b6e3f4f91
commit 0fc4cb9494
2 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
SUMMARY="A general purpose deflate compression library"
DESCRIPTION="Sortix libz is a general purpose deflate compression library.
It is a modernized and compatible fork of zlib with focus on correctness,
proper portability, auditability, simplification and opportunities to optimize."
HOMEPAGE="https://sortix.org/libz"
COPYRIGHT="
1995-2013 Jean-loup Gailly and Mark Adler
2015 Jonas 'Sortie' Termansen
"
LICENSE="Zlib"
SOURCE_URI="https://sortix.org/libz/release/libz-1.2.8.2015.08.23.tar.gz
https://users-cs.au.dk/sortie/sortix/libz/release/libz-1.2.8.2015.08.23.tar.gz"
CHECKSUM_SHA256="31d6d00862e655e2eb615e538eb879c1fb7ae8c91b75a1f5ce9fdc9cbd78cc80"
SOURCE_DIR="libz-1.2.8.2015.08.23"
REVISION="1"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libz$secondaryArchSuffix = $portVersion compat >= 1
lib:libz$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
"
CONFLICTS="
zlib$secondaryArchSuffix
"
PROVIDES_devel="
libz${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libz$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES_devel="
haiku${secondaryArchSuffix}_devel
libz$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:which
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure --includeexecdir=$includeDir
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs \
libz
packageEntries devel \
$developDir
}

View File

@@ -0,0 +1,21 @@
Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Jean-loup Gailly Mark Adler
jloup@gzip.org madler@alumni.caltech.edu