mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
zziplib, bump version (#2720)
This commit is contained in:
committed by
waddlesplash
parent
d010d0ebd6
commit
47b14d79d3
104
dev-libs/zziplib/zziplib-0.13.69.recipe
Normal file
104
dev-libs/zziplib/zziplib-0.13.69.recipe
Normal file
@@ -0,0 +1,104 @@
|
||||
SUMMARY="The zziplib extract data from archives in a single zip"
|
||||
DESCRIPTION="Lightweight library used to easily extract data from \
|
||||
files archived in a single zip file."
|
||||
HOMEPAGE="http://zziplib.sourceforge.net/"
|
||||
COPYRIGHT="1999-2010 Guido Draheim"
|
||||
LICENSE="GNU LGPL v2.1
|
||||
MPL v1.1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/gdraheim/zziplib/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="846246d7cdeee405d8d21e2922c6e97f55f24ecbe3b6dcf5778073a88f120544"
|
||||
PATCHES="zziplib-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="13.0.69"
|
||||
libVersionCompat="$libVersion compat >= 10"
|
||||
|
||||
PROVIDES="
|
||||
zziplib$secondaryArchSuffix = $portVersion
|
||||
cmd:unzip_mem$secondaryArchSuffix = $portVersion
|
||||
cmd:unzzip$secondaryArchSuffix = $portVersion
|
||||
cmd:unzzip_big$secondaryArchSuffix = $portVersion
|
||||
cmd:unzzip_mem$secondaryArchSuffix = $portVersion
|
||||
cmd:unzzip_mix$secondaryArchSuffix = $portVersion
|
||||
cmd:zzcat$secondaryArchSuffix = $portVersion
|
||||
cmd:zzdir$secondaryArchSuffix = $portVersion
|
||||
cmd:zzxorcat$secondaryArchSuffix = $portVersion
|
||||
cmd:zzxorcopy$secondaryArchSuffix = $portVersion
|
||||
cmd:zzxordir$secondaryArchSuffix = $portVersion
|
||||
lib:libzzip_0$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libzzipfseeko_0$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libzzipmmapped_0$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libzzipwrap_0$secondaryArchSuffix = $libVersion compat >= 13
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
zziplib${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libzzip$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libzzipfseeko$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libzzipmmapped$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libzzipwrap$secondaryArchSuffix = $libVersion compat >= 13
|
||||
"
|
||||
REQUIRES_devel="
|
||||
zziplib${secondaryArchSuffix}_devel == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
docbook_xml_dtd
|
||||
docbook_xsl_stylesheets
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python2
|
||||
cmd:tar
|
||||
cmd:xmlto
|
||||
cmd:zip
|
||||
"
|
||||
PATCH()
|
||||
{
|
||||
sed -i 's/\--export-dynamic/\-export-dynamic/' configure.ac
|
||||
}
|
||||
BUILD()
|
||||
{
|
||||
libtoolize -fci
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure --mandir=$manDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
rm $libDir/libzzip*.la
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libzzip \
|
||||
libzzipfseeko \
|
||||
libzzipmmapped \
|
||||
libzzipwrap
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user