<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>libpcre</Name>
        <Homepage>http://www.pcre.org/</Homepage>
        <Packager>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <PartOf>system.base</PartOf>
        <Summary>Perl-compatible regular expression library</Summary>
        <Description>The PCRE (Perl Compatible Regular Expressions) library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5.</Description>
        <!-- @@@blfs general pcre -->
        <Archive sha1sum="0d4585ee6426ab0db9c0c8f1c8c6da968170174d" type="tarbz2">https://ftp.pcre.org/pub/pcre/pcre-8.43.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>readline-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libpcre</Name>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>readline</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libpcre*</Path>
            <Path fileType="executable">/usr/bin/pcregrep</Path>
            <Path fileType="executable">/usr/bin/pcretest</Path>
        </Files>
    </Package>

    <Package>
        <Name>libpcre-devel</Name>
        <IsA>header</IsA>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for libpcre</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libpcre</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="executable">/usr/bin/pcre-config</Path>
        </Files>
    </Package>

    <Package>
        <Name>libpcre-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libpcre</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>bzip2-32bit</Dependency>
            <Dependency>readline-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency release="current">libpcre</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/libpcre*</Path>
        </Files>
    </Package>
    <Package>
        <Name>libpcre-pages</Name>
        <IsA>data:doc</IsA>
        <PartOf>system.doc</PartOf>
        <Summary>Manpages for libpcre</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libpcre</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>
    <Package>
        <Name>libpcre-docs</Name>
        <IsA>data:doc</IsA>
        <PartOf>system.doc</PartOf>
        <Summary>Documentation files for libpcre</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libpcre</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    <History>
        <Update release="3">
            <Date>2019-09-19</Date>
            <Version>8.43</Version>
            <Comment>Package is rebuilded and released up.</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2019-09-13</Date>
            <Version>8.43</Version>
            <Comment>Version bumped to 8.43 for compability.</Comment>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2018-12-23</Date>
            <Version>8.42</Version>
            <Comment>First release</Comment>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
