mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
87 lines
2.1 KiB
Bash
87 lines
2.1 KiB
Bash
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"
|
|
SOURCE_URI="https://downloads.sf.net/zziplib/zziplib-$portVersion.tar.bz2"
|
|
REVISION="1"
|
|
CHECKSUM_SHA256="cbc90cef60ee498319258e464895f990bb2e6e08f245264d77e44b309c8c218f"
|
|
|
|
ARCHITECTURES="x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
zziplib$secondaryArchSuffix = $portVersion
|
|
cmd:zziplib$secondaryArchSuffix = $portVersion
|
|
cmd:unzip_mem
|
|
cmd:unzzip
|
|
cmd:unzzipcat
|
|
cmd:unzzipcat_mem
|
|
cmd:unzzipcat_seeko
|
|
cmd:unzzipdir
|
|
cmd:unzzipdir_mem
|
|
cmd:zzcat
|
|
cmd:zzdir
|
|
cmd:zzxorcat
|
|
cmd:zzxorcopy
|
|
cmd:zzxordir
|
|
lib:libzzip_0$secondaryArchSuffix = 13.0.59 compat >= 13
|
|
lib:libzzipfseeko_0$secondaryArchSuffix = 13.0.59 compat >= 13
|
|
lib:libzzipmmapped_0$secondaryArchSuffix = 13.0.59 compat >= 13
|
|
lib:libzzipwrap_0$secondaryArchSuffix = 13.0.59 compat >= 13
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
zziplib${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libzzip$secondaryArchSuffix = 13.0.59 compat >= 13
|
|
devel:libzzipfseeko$secondaryArchSuffix = 13.0.59 compat >= 13
|
|
devel:libzzipmmapped$secondaryArchSuffix = 13.0.59 compat >= 13
|
|
devel:libzzipwrap$secondaryArchSuffix = 13.0.59 compat >= 13
|
|
"
|
|
REQUIRES_devel="
|
|
zziplib${secondaryArchSuffix}_devel == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoreconf$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:makeinfo
|
|
cmd:python2
|
|
"
|
|
PATCH()
|
|
{
|
|
sed -i 's/\--export-dynamic/\-export-dynamic/' configure.ac
|
|
}
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
autoreconf -i
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/libzzip*.la
|
|
prepareInstalledDevelLibs \
|
|
libzzip \
|
|
libzzipfseeko \
|
|
libzzipmmapped \
|
|
libzzipwrap
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|