<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libffi</Name>
        <Homepage>http://sourceware.org/libffi</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>A portable foreign function interface library</Summary>
        <Description>The libffi library provides a portable, high level programming interface to various calling conventions.</Description>
        <Archive sha1sum="781b5eb67349b75e3714e6a4df4f32b7470774c1" type="targz">https://github.com/libffi/libffi/releases/download/v3.6.0/libffi-3.6.0.tar.gz</Archive>
    </Source>

    <Package>
        <Name>libffi</Name>
        <Files>
            <Path fileType="library">/usr/lib/libffi.*</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libffi-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for libffi</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libffi</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="info">/usr/share/info</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="14">
            <Date>2026-06-27</Date>
            <Version>3.6.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="13">
            <Date>2025-11-06</Date>
            <Version>3.5.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="12">
            <Date>2025-10-30</Date>
            <Version>3.5.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="11">
            <Date>2025-08-04</Date>
            <Version>3.5.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2025-06-18</Date>
            <Version>3.5.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2025-04-13</Date>
            <Version>3.4.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2023-10-15</Date>
            <Version>3.4.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2023-01-28</Date>
            <Version>3.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-12-09</Date>
            <Version>3.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-12-12</Date>
            <Version>3.3</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalps@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-15</Date>
            <Version>3.2.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-07</Date>
            <Version>3.2.1</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>3.2.1</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-01</Date>
            <Version>3.2.1</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
