<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>zlib</Name>
        <Homepage>http://www.gzip.org/zlib/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>ZLIB</License>
        <IsA>library</IsA>
        <Summary>Standard (de)compression library</Summary>
        <Description>Zlib is a general-purpose, patent-free, lossless data compression library which is used by many different programs.</Description>
        <Archive sha1sum="e1cb0d5c92da8e9a8c2635dfa249c341dfd00322" type="tarxz">mirrors://sourceforge/libpng/zlib-1.2.11.tar.xz</Archive>
        <Patches>
<!--             <Patch level="1">zlib-1.2.5-minizip-fixuncrypt.patch</Patch> -->
            <Patch level="1">dont-call-ldconfig.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>minizip</Name>
        <PartOf>util.archive</PartOf>
        <Summary>Library for manipulating files from a zip archive</Summary>
        <BuildType>minizip</BuildType>
        <RuntimeDependencies>
            <Dependency release="current">zlib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libminizip*</Path>
        </Files>
    </Package>

    <Package>
        <Name>minizip-devel</Name>
        <PartOf>util.archive</PartOf>
        <Summary>Development files for minizip</Summary>
        <BuildType>minizip</BuildType>
        <RuntimeDependencies>
            <Dependency release="current">minizip</Dependency>
            <Dependency release="current">zlib-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/minizip</Path>
            <Path fileType="data">/usr/lib/pkgconfig/minizip.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>zlib</Name>
        <Files>
            <Path fileType="library">/lib/libz.so*</Path>
            <Path fileType="library">/usr/lib/libz.so*</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>zlib-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for zlib</Summary>
        <RuntimeDependencies>
            <Dependency release="current">zlib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig/zlib.pc</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="header">/usr/include/z*.h</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
            <Path fileType="doc">/usr/share/doc/zlib/algorithm.txt</Path>
            <Path fileType="doc">/usr/share/doc/zlib/example.c</Path>
        </Files>
    </Package>

    <Package>
        <Name>zlib-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for zlib</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">zlib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/libz.so*</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-12-02</Date>
            <Version>1.2.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-01-21</Date>
            <Version>1.2.10</Version>
            <Comment>version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-02</Date>
            <Version>1.2.8</Version>
            <Comment>Rebuild with new toolchain.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>1.2.8</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-28</Date>
            <Version>1.2.8</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
