<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>rust</Name>
        <Homepage>https://www.rust-lang.org/en-US/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>app</IsA>
        <Summary>Systems programming language focused on safety, speed and concurrency</Summary>
        <Description>Systems programming language focused on safety, speed and concurrency</Description>
        <Archive sha1sum="f835d72bc26ee6f25f6e5d6783b424fc9b904c9e" type="targz">https://static.rust-lang.org/dist/rustc-1.21.0-src.tar.gz</Archive>
        <AdditionalFiles>
            <AdditionalFile target="config.toml">bootstrap-config.toml</AdditionalFile>
        </AdditionalFiles>
        <Patches>
            <Patch>0001-librustc_llvm-build-Force-link-against-libffi.patch</Patch>
        </Patches>
       
    </Source>

    <Package>
        <Name>rust</Name>
        
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/zsh</Path>
        </Files>
        
    </Package>

    <History>
        <Update release="2">
            <Date>2017-11-13</Date>
            <Version>1.21.0</Version>
            <Comment>Version Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2017-09-26</Date>
            <Version>1.20.0</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
