<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>glew</Name>
        <Homepage>http://glew.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <License>GLX</License>
        <License>SGI-B</License>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <Summary>OpenGL Extension Wrangler Library</Summary>
        <Description>OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file.</Description>
        <Archive sha1sum="070dfb61dbb7cd0915517decf467264756469a94" type="targz">mirrors://sourceforge/glew/1.12.0/glew-1.12.0.tgz</Archive>
        <BuildDependencies>
            <Dependency>mesa-glu-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--Dont change order of patch, otherwise "add_bin_target" cannot be applied-->
            <Patch level="1">add_bin_target.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>glew</Name>
        <RuntimeDependencies>
            <Dependency>mesa</Dependency>
            <Dependency>libX11</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
        </Files>
    </Package>

    <Package>
        <Name>glew-devel</Name>
        <Summary>Development files for glew</Summary>
        <RuntimeDependencies>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency release="current">glew</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/GL</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>glew-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for glew</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>glibc-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency release="current">glew</Dependency>
        </RuntimeDependencies>

        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="9">
            <Date>2015-08-15</Date>
            <Version>1.12.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2015-01-27</Date>
            <Version>1.10.0</Version>
            <Comment>Release bump + Dep Fixed</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2014-05-16</Date>
            <Version>1.10.0</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2014-03-07</Date>
            <Version>1.10.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2013-11-06</Date>
            <Version>1.9.0</Version>
            <Comment>Fix deps.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-10-08</Date>
            <Version>1.9.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-08-25</Date>
            <Version>1.9.0</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-07-30</Date>
            <Version>1.9.0</Version>
            <Comment>Rebuild</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-10-30</Date>
            <Version>1.9.0</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>