<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>spidermonkey</Name>
        <Homepage>http://www.mozilla.org/js/spidermonkey/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>NPL-1.1</License>
        <IsA>library</IsA>
        <Summary>Stand-alone JavaScript C Library</Summary>
        <Description>Spidermonkey is Mozilla's C implementation of JavaScript.</Description>
        <Archive type="targz" sha1sum="7805174898c34e5d3c3b256117af9944ba825c89">http://ftp.mozilla.org/pub/mozilla.org/js/mozjs17.0.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>zlib-devel</Dependency>
            <Dependency>nspr-devel</Dependency>
            <Dependency>readline-devel</Dependency>
            <Dependency>libffi-devel</Dependency>
        </BuildDependencies>
        <Patches>
        </Patches>
    </Source>

    <Package>
        <Name>spidermonkey</Name>
        <RuntimeDependencies>
            <Dependency>nspr</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>readline</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>17.0.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>17.0.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-06</Date>
            <Version>17.0.0</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
