mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
minizip: add recipe for version 1.2.11 (#1593)
This commit is contained in:
73
app-arch/minizip/minizip-1.2.11.recipe
Normal file
73
app-arch/minizip/minizip-1.2.11.recipe
Normal file
@@ -0,0 +1,73 @@
|
||||
SUMMARY="Mini zip and unzip based on zlib"
|
||||
DESCRIPTION="minizip is a simple tool which allows the creation of compressed \
|
||||
file archives in the ZIP format used by the MS-DOS utility PKZIP. It was \
|
||||
written as a demonstration of the zlib library and therefore lack many of \
|
||||
the features of the zip program."
|
||||
HOMEPAGE="http://www.zlib.net/"
|
||||
COPYRIGHT="1998-2010 Gilles Vollant and Mathias Svensson"
|
||||
LICENSE="Zlib"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://zlib.net/fossils/zlib-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1"
|
||||
SOURCE_DIR="zlib-$portVersion"
|
||||
PATCHES="minizip-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
minizip$secondaryArchSuffix = $portVersion
|
||||
lib:libminizip$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
minizip${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libminizip$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
minizip$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:autoheader
|
||||
cmd:automake
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:grep
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd contrib/minizip
|
||||
cp Makefile Makefile.orig
|
||||
cp ../README.contrib readme.txt
|
||||
autoreconf --install
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd contrib/minizip
|
||||
make install
|
||||
|
||||
rm -rf $libDir/libminizip.la
|
||||
|
||||
prepareInstalledDevelLib libminizip
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user