code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>java7-openjdk</Name>
        <Homepage>http://icedtea.classpath.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        Open Java Development Kit
        <Description>OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition (Java SE).</Description>
        <Archive sha1sum="088b6a1885b2d54484e96f7ef6c9e2c4804784fc" type="targz">http://icedtea.wildebeest.org/download/source/icedtea-2.6.8.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>ant</Dependency>
            <Dependency>wget</Dependency>
            <Dependency>rhino</Dependency>
            <Dependency>fastjar</Dependency>
            <Dependency>nss-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>attr-devel</Dependency>
            <Dependency>xorg-proto</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>eclipse-ecj</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>jdk7-openjdk</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>giflib-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>chrpath</Dependency>

        </BuildDependencies>
        <AdditionalFiles>
            <AdditionalFile target="patches/giflib_5.1.diff">giflib_5.1.diff</AdditionalFile>
            <AdditionalFile target="patches/fontconfig-paths.diff">fontconfig-paths.diff</AdditionalFile>
            <AdditionalFile target="patches/openjdk7_nonreparenting-wm.diff">openjdk7_nonreparenting-wm.diff</AdditionalFile>
        </AdditionalFiles>
    </Source>

    <Package>
        <Name>jre7-openjdk-headless</Name>
        Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed for executing non GUI Java programs
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>cups</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXtst</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/orbd</Path>
            <Path fileType="executable">/usr/bin/rmid</Path>
            <Path fileType="executable">/usr/bin/java</Path>
            <Path fileType="data">/etc/env.d/20java_jre.csh</Path>
            <Path fileType="data">/etc/env.d/20java_jre</Path>
            <Path fileType="config">/etc/java-7-openjdk/</Path>
            <Path fileType="executable">/usr/bin/pack200</Path>
            <Path fileType="executable">/usr/bin/keytool</Path>
            <Path fileType="executable">/usr/bin/tnameserv</Path>
            <Path fileType="executable">/usr/bin/unpack200</Path>
            <Path fileType="man">/usr/share/man/man1/rmid.1</Path>
            <Path fileType="man">/usr/share/man/man1/orbd.1</Path>
            <Path fileType="man">/usr/share/man/man1/java.1</Path>
            <Path fileType="executable">/usr/bin/servertool</Path>
            <Path fileType="executable">/usr/bin/rmiregistry</Path>
            <Path fileType="doc">/usr/share/doc/java7-openjdk/</Path>
            <Path fileType="man">/usr/share/man/ja/man1/rmid.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/java.1</Path>
            <Path fileType="man">/usr/share/man/man1/pack200.1</Path>
            <Path fileType="man">/usr/share/man/man1/keytool.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/orbd.1</Path>
            <Path fileType="man">/usr/share/man/man1/tnameserv.1</Path>
            <Path fileType="man">/usr/share/man/man1/unpack200.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/pack200.1</Path>
            <Path fileType="man">/usr/share/man/man1/servertool.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/keytool.1</Path>
            <Path fileType="man">/usr/share/man/man1/rmiregistry.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/tnameserv.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/unpack200.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/servertool.1</Path>
            <Path fileType="doc">/usr/share/doc/jre7-openjdk-headless</Path>
            <Path fileType="man">/usr/share/man/ja/man1/rmiregistry.1</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/java</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/orbd</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/rmid</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/keytool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/pack200</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/orbd</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/java</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/rmid</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/tnameserv</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/unpack200</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/servertool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/policytool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/rmiregistry</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/keytool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/pack200</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/*/jli/libjli.so</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/tnameserv</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/unpack200</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/servertool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/rmiregistry</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/xawt/libmawt.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/headless/libmawt.so</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/env.d/20java_jre">20java_jre</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/env.d/20java_jre.csh">20java_jre.csh</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>jre7-openjdk</Name>
        Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Full Java runtime environment - needed for executing Java GUI and Webstart programs
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>giflib</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>jre7-openjdk-headless</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/openjdk</Path>
            <Path fileType="executable">/usr/bin/policytool</Path>
            <Path fileType="data">/usr/share/icons/hicolor/</Path>
            <Path fileType="man">/usr/share/man/man1/policytool.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/policytool.1</Path>
            <Path fileType="data">/usr/share/applications/policytool.desktop</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/policytool</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/*/libjsoundalsa.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/*/libpulse-java.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/*/libsplashscreen.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/libjsoundalsa.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/libpulse-java.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/libsplashscreen.so</Path>
        </Files>
        <Replaces>
            <Package>sun-jre</Package>
        </Replaces>
        <Conflicts>
            <Package>sun-jre</Package>
        </Conflicts>
    </Package>
    <Package>
        <Name>jdk7-openjdk</Name>
        Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - SDK
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>jre7-openjdk-headless</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/etc/env.d/21java_jdk.csh</Path>
            <Path fileType="data">/etc/env.d/21java_jdk</Path>
            <Path fileType="man">/usr/share/man/man1/</Path>
            <Path fileType="man">/usr/share/man/ja/man1/</Path>
            <Path fileType="executable">/usr/bin/jar</Path>
            <Path fileType="executable">/usr/bin/xjc</Path>
            <Path fileType="executable">/usr/bin/apt</Path>
            <Path fileType="executable">/usr/bin/jdb</Path>
            <Path fileType="executable">/usr/bin/jps</Path>
            <Path fileType="executable">/usr/bin/jmap</Path>
            <Path fileType="executable">/usr/bin/idlj</Path>
            <Path fileType="executable">/usr/bin/jcmd</Path>
            <Path fileType="executable">/usr/bin/jhat</Path>
            <Path fileType="executable">/usr/bin/rmic</Path>
            <Path fileType="executable">/usr/bin/javac</Path>
            <Path fileType="executable">/usr/bin/javah</Path>
            <Path fileType="executable">/usr/bin/javap</Path>
            <Path fileType="executable">/usr/bin/jinfo</Path>
            <Path fileType="executable">/usr/bin/wsgen</Path>
            <Path fileType="executable">/usr/bin/jstat</Path>
            <Path fileType="executable">/usr/bin/jstack</Path>
            <Path fileType="executable">/usr/bin/jstatd</Path>
            <Path fileType="executable">/usr/bin/javadoc</Path>
            <Path fileType="executable">/usr/bin/extcheck</Path>
            <Path fileType="executable">/usr/bin/jconsole</Path>
            <Path fileType="executable">/usr/bin/wsimport</Path>
            <Path fileType="executable">/usr/bin/jarsigner</Path>
            <Path fileType="executable">/usr/bin/jsadebugd</Path>
            <Path fileType="executable">/usr/bin/schemagen</Path>
            <Path fileType="executable">/usr/bin/serialver</Path>
            <Path fileType="executable">/usr/bin/jrunscript</Path>
            <Path fileType="executable">/usr/bin/appletviewer</Path>
            <Path fileType="executable">/usr/bin/native2ascii</Path>
            <Path fileType="data">/usr/share/applications/jconsole.desktop</Path>
            <Path fileType="header">/usr/lib/jvm/java-7-openjdk/include</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/apt</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jar</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jdb</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jps</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/xjc</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/rmic</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/rmid</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/idlj</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/orbd</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/java</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jhat</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jmap</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jcmd</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/javac</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/javah</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/javap</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jinfo</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jstat</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/wsgen</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jstatd</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jstack</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/pack200</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/javadoc</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/keytool</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/wsimport</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/extcheck</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jconsole</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/tnameserv</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/unpack200</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/schemagen</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/serialver</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jarsigner</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jsadebugd</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jrunscript</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/policytool</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/servertool</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/rmiregistry</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/java-rmi.cgi</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/native2ascii</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/appletviewer</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/jexec</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/ct.sym</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/dt.jar</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/ir.idl</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/orb.idl</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/tools.jar</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/sa-jdi.jar</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/jconsole.jar</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/env.d/21java_jdk.csh">21java_jdk.csh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/env.d/21java_jdk">21java_jdk</AdditionalFile>
        </AdditionalFiles>
        <Replaces>
            <Package>sun-jdk</Package>
        </Replaces>
        <Conflicts>
            <Package>sun-jdk</Package>
        </Conflicts>
    </Package>

    <Package>
        <Name>openjdk7-src</Name>
        Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - sources
        <RuntimeDependencies>
            <Dependency>jdk7-openjdk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/jvm/java-7-openjdk/src.zip</Path>
        </Files>
    </Package>

    <Package>
        <Name>openjdk7-doc</Name>
        Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - documentation
        <RuntimeDependencies>
            <Dependency>jdk7-openjdk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/openjdk7-doc/</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-18</Date>
            <Version>7u_121.2.6.8</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-08</Date>
            <Version>7u_121.2.6.8</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>7u_85.2.6.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-22</Date>
            <Version>7u_85.2.6.1</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>java7-openjdk</Name>
        Open Java Development Kit
        <Description xml:lang="en">OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition (Java SE).</Description>
    </Source>

    <Package>
        <Name>jre7-openjdk</Name>
        Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Full Java runtime environment - needed for executing Java GUI and Webstart programs
    </Package>

    <Package>
        <Name>jre7-openjdk-headless</Name>
        Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed for executing non GUI Java programs
    </Package>

    <Package>
        <Name>openjdk7-src</Name>
        Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - sources
    </Package>

    <Package>
        <Name>jdk7-openjdk</Name>
        Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - SDK
    </Package>

    <Package>
        <Name>openjdk7-doc</Name>
        Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - documentation
    </Package>
</PISI>

repo_name: ayhanyalcinsoy/main


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():

    autotools.configure("--prefix=/usr/")

def build():
    autotools.make()

def install():
    autotools.rawInstall('DESTDIR=%s' % get.installDIR())

    pisitools.dodoc("COPYING", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>npapi-sdk</Name>
        <Homepage>http://code.google.com/p/npapi-sdk/</Homepage>
        <Packager>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Packager>
        <License>MPLv1.1</License>
        <IsA>app:gui</IsA>
        NPAPI-SDK is a bundle of Netscape Plugin Application Programming Interface headers by Mozilla.
        <Description>NPAPI-SDK is a bundle of Netscape Plugin Application Programming Interface headers by Mozilla. This package provides a clear way to install those headers and depend on them.</Description>
        <Archive sha1sum="5aac3c76ea59aa2ac8113e2f742af51f4ae0c60c" type="tarbz2">https://bitbucket.org/mgorny/npapi-sdk/downloads/npapi-sdk-0.27.2.tar.bz2</Archive>
    </Source>

    <Package>
        <Name>npapi-sdk</Name>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>npapi-sdk-devel</Name>
        Development files for npapi-sdk
        <RuntimeDependencies>
            <Dependency release="current">npapi-sdk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include/npapi-sdk</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2017-01-08</Date>
            <Version>0.27.2</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>npapi-sdk</Name>
        NPAPI-SDK is a bundle of Netscape Plugin Application Programming Interface headers by Mozilla.
        <Description xml:lang="en">NPAPI-SDK is a bundle of Netscape Plugin Application Programming Interface headers by Mozilla. This package provides a clear way to install those headers and depend on them.</Description>
    </Source>

    <Package>
        <Name>npapi-sdk-devel</Name>
        Development files for nnapi-sdk
        npapi-sdk için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools

shelltools.export("JAVA_HOME","/usr/lib/jvm/java-7-openjdk/jre")

def build():
    shelltools.system("ant -Dxbean.jar=xmlbeans-2.6.0/lib/xbean.jar -Djsr173.jar=xmlbeans-2.6.0/lib/jsr173_1.0_api.jar jar javadoc")

def install():
    pisitools.dobin("rhino")
    pisitools.dobin("rhino-jsc")
    pisitools.dobin("rhino-debugger")
    pisitools.doman("rhino.1")
    pisitools.doman("rhino-jsc.1")
    pisitools.doman("rhino-debugger.1")
    pisitools.insinto("/usr/share/java", "build/rhino1.7.7.1/js.jar")
    pisitools.insinto("/usr/share/java", "build/rhino1.7.7.1/js.jar", "js-1.7.7.1.jar")


code:
#!/bin/sh

JAVA_CMD="/usr/bin/java"
JAVA_OPTS=""
JAVA_CLASSPATH="/usr/share/java/js.jar:/usr/share/java/jline.jar"
JAVA_MAIN="org.mozilla.javascript.tools.shell.Main"

$JAVA_CMD $JAVA_OPTS -classpath $JAVA_CLASSPATH $JAVA_MAIN "$@"


code:
#!/bin/sh

JAVA_CMD="/usr/bin/java"
JAVA_OPTS=""
JAVA_CLASSPATH="/usr/share/java/js.jar"
JAVA_MAIN="org.mozilla.javascript.tools.debugger.Main"

$JAVA_CMD $JAVA_OPTS -classpath $JAVA_CLASSPATH $JAVA_MAIN "$@"


code:
.\"                                      Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH RHINO-DEBUGGER 1 "Friday  17, 2009"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
rhino-debugger \- invokes the rhino JavaScript debugger GUI

.SH SYNOPSIS
.B rhino-debugger
.I [options]
.I script_filename_or_url
.I [script_arguments]

.SH DESCRIPTION
This manual page documents briefly the
.B rhino-debugger
command.
This manual page was written for the Debian distribution because the original
program does not have a manual page. It is written according to the html documentation.
.PP
\fBrhino-debugger\fP is a start script for the rhino JavaScript debugger. The Rhino JavaScript debugger is a GUI that allows debugging of interpreted JavaScript scripts run in Rhino. Note that this debugger will not work with JavaScript scripts run in the mozilla browser since Rhino is not the engine used in such environments.

.SH OPTIONS

.IP -e\ \fIscript_source\fP
Executes script_source as a JavaScript script.
.IP -f\ \fIscript_filename_or_url\fP
Reads script_filename_or_url content and execute it as a JavaScript script.
.IP -opt,\ -O\ \fIoptLevel\fP
Optimizes at level optLevel, which must be an integer between 0 and 9.
.IP -version\ \fIversionNumber\fP
Specifies the language version to compile with. The string versionNumber must be one of 100, 110, 120, 130, or 140. See JavaScript Language Versions for more information on language versions.
.IP -strict
Enable strict mode.

.SH EXAMPLE

Example debugging the NervousText.js applet written in JavaScript. The example is provided in the librhino-java-doc package.

$ rhino-debugger NervousText.js

.SH SEE ALSO
The online documentation under http://www.mozilla.org/rhino/debugger.html

.SH AUTHOR
This manual page was written by Damien Raude-Morvan <drazzib@debian.org>,
for the Debian project (but may be used by others).


code:
#!/bin/sh

JAVA_CMD="/usr/bin/java"
JAVA_OPTS=""
JAVA_CLASSPATH="/usr/share/java/js.jar"
JAVA_MAIN="org.mozilla.javascript.tools.jsc.Main"

$JAVA_CMD $JAVA_OPTS -classpath $JAVA_CLASSPATH $JAVA_MAIN "$@"


code:
.\"                                      Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH RHINO-JSC 1 "February  12, 2005"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
rhino-jsc \- invokes the rhino JavaScript compiler

.SH SYNOPSIS
.B rhino-jsc
.I [options]
.I file1.js
.I [file2.js\&.\&.\&.]

.SH DESCRIPTION
This manual page documents briefly the
.B rhino-jsc
command.
This manual page was written for the Debian distribution because the original
program does not have a manual page. It is written according to the html documentation.
.PP
\fBrhino-jsc\fP is a start script for the rhino JavaScript compiler. The JavaScript compiler translates JavaScript source into Java class files. The resulting Java class files can then be loaded and executed at another time, providing a convenient method for transferring JavaScript, and for avoiding translation cost.
Note that the top-level functions available to the shell (such as print) are not available to compiled scripts when they are run outside the shell.

.SH OPTIONS

.IP -extends\ \fIjava_class_name\fP
Specifies that a java class extending the Java class java_class_name should be generated from the incoming JavaScript source file. Each global function in the source file is made a method of the generated class, overriding any methods in the base class by the same name.
.IP -implements\ \fIjava_intf_name\fP
Specifies that a java class implementing the Java interface java_intf_name should be generated from the incoming JavaScript source file. Each global function in the source file is made a method of the generated class, implementing any methods in the interface by the same name.
.IP -debug,\ -g
Specifies that debug information should be generated. May not be combined with optimization at an optLevel greater than zero.
.IP -nosource
Does not save the source in the class file. Functions and scripts compiled this way cannot be decompiled. This option can be used to avoid distributing source or simply to save space in the resulting class file.
.IP -o\ \fIoutputFile\fP
Writes the class file to the given file (which should end in .class). The string outputFile must be a writable filename.
.IP -opt,\ -O\ \fIoptLevel\fP
Optimizes at level optLevel, which must be an integer between 0 and 9.
.IP -package\ \fIpackageName\fP
Specifies the package to generate the class into. The string packageName must be composed of valid identifier characters optionally separated by periods.
.IP -version\ \fIversionNumber\fP
Specifies the language version to compile with. The string versionNumber must be one of 100, 110, 120, 130, or 140. See JavaScript Language Versions for more information on language versions.

.SH EXAMPLE

Example compiling the NervousText.js applet written in JavaScript. The example is provided in the librhino-java-doc package.

$ rhino-jsc \-extends java.applet.Applet \-implements java.lang.Runnable NervousText.js

.SH SEE ALSO
The online documentation under http://www.mozilla.org/rhino/jsc.html

.SH AUTHOR
This manual page was written by Wolfgang Baer <WBaer@gmx.de>,
for the Debian project (but may be used by others).


code:
.\"                                      Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH RHINO 1 "February  12, 2005"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
rhino \- invokes the JavaScript shell for running scripts in batch mode or interactive

.SH SYNOPSIS
.B rhino
.I [options]
.I script_filename_or_url
.I [script_arguments]

.SH DESCRIPTION
This manual page documents briefly the
.B rhino
command.
This manual page was written for the Debian distribution because the original
program does not have a manual page. It is written according to the html documentation.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBrhino\fP is a start script for the rhino JavaScript shell which provides a simple way
to run scripts in batch mode or an interactive environment for exploratory programming.

.SH OPTIONS

.IP -e\ \fIscript_source\fP
Executes script_source as a JavaScript script.
.IP -f\ \fIscript_filename_or_url\fP
Reads script_filename_or_url content and execute it as a JavaScript script.
.IP -opt,\ -O\ \fIoptLevel\fP
Optimizes at level optLevel, which must be an integer between -1 and 9. -1 means Interpretive mode is always used. 0 means no optimizations whereas 9 means all optimizations are performed.
.IP -version\ \fIversionNumber\fP
Specifies the language version to compile with. The string versionNumber must be one of 100, 110, 120, 130, or 140. See JavaScript Language Versions for more information on language versions.
.IP -strict
Enable strict mode.

.SH PREDEFINED PROPERTIES

Scripts executing in the shell have access to some additional properties of the top-level object.

.IP arguments
The arguments object is an array containing the strings of all the arguments given at the command line when the shell was invoked.
.IP help()
Executing the help function will print usage and help messages.
.IP defineClass(\fIclassName\fP)
Define an extension using the Java class named with the string argument className. Uses ScriptableObject.defineClass() to define the extension.
.IP deserialize(\fIfilename\fP)
Restore from the specified file an object previously written by a call to serialize.
.IP load(\fI[filename,\&.\&.\&.]\fP)
Load JavaScript source files named by string arguments. If multiple arguments are given, each file is read in and executed in turn.
.IP loadClass(\fIclassName\fP)
Load and execute the class named by the string argument className. The class must be a class that implements the Script interface, as will any script compiled by jsc.
.IP print(\fI[expr\&.\&.\&.]\fP)
Evaluate and print expressions. Evaluates each expression, converts the result to a string, and prints it.
.IP readFile(\fIpath[,characterCoding]\fP)
Read given file and convert its bytes to a string using the specified character coding or default character coding if explicit coding argument is not given.
.IP readUrl(\fIurl[,characterCoding]\fP)
Open an input connection to the given string url, read all its bytes and convert them to a string using the specified character coding or default character coding if explicit coding argument is not given.
.IP runCommand(\fIcommandName,[arg,\&.\&.\&.][options]\fP)
Execute the specified command with the given argument and options as a separate process and return the exit status of the process. For details, see JavaDoc for org.mozilla.javascript.tools.shell.Global#runCommand.
.IP serialize(\fIobject,filename\fP)
Serialize the given object to the specified file.
.IP spawn(\fIfunctionOrScript\fP)
Run the given function or script in a different thread.
.IP sync(\fIfunction\fP)
creates a synchronized function (in the sense of a Java synchronized method) from an existing function. The new function synchronizes on the this object of its invocation.
.IP quit()
Quit shell. The shell will also quit in interactive mode if an end-of-file character is typed at the prompt.
.IP version(\fI[number]\fP)
Get or set JavaScript version number. If no argument is supplied, the current version number is returned. If an argument is supplied, it is expected to be one of 100, 110, 120, 130, or 140 to indicate JavaScript version 1.0, 1.1, 1.2, 1.3, or 1.4 respectively.

.SH SEE ALSO
The online documentation under http://www.mozilla.org/rhino/shell.html

.SH AUTHOR
This manual page was written by Wolfgang Baer <WBaer@gmx.de>,
for the Debian project (but may be used by others).


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>rhino</Name>
        <Homepage>http://www.mozilla.org/rhino/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPL2</License>
        <Summary>Open-source implementation of JavaScript written entirely in Java</Summary>
        <Description>Open-source implementation of JavaScript written entirely in Java</Description>
        <Archive sha1sum="d8af09f7c33b72c57a80f4f0fc2ba0a86ca3c4be" type="targz">https://github.com/mozilla/rhino/archive/Rhino1_7_7_1_RELEASE.tar.gz</Archive>
        <Archive sha1sum="57ba5952c98f32e20f0408e7c42debd296fc0b45" type="targz" target="rhino-Rhino1_7_7_1_RELEASE">http://archive.apache.org/dist/xmlbeans/binaries/xmlbeans-2.6.0.tgz</Archive>
        <AdditionalFiles>
            <AdditionalFile target="rhino">rhino</AdditionalFile>
            <AdditionalFile target="rhino.1">rhino.1</AdditionalFile>
            <AdditionalFile target="rhino-jsc">rhino-jsc</AdditionalFile>
            <AdditionalFile target="rhino-jsc.1">rhino-jsc.1</AdditionalFile>
            <AdditionalFile target="rhino-debugger">rhino-debugger</AdditionalFile>
            <AdditionalFile target="rhino-debugger.1">rhino-debugger.1</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>ant</Dependency>
            <Dependency>jdk7-openjdk</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>rhino</Name>
        <RuntimeDependencies>
            <Dependency>jdk7-openjdk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/java/</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-05-11</Date>
            <Version>1.7.7.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.7.7.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-02</Date>
            <Version>1.7.7.1</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>rhino</Name>
        <Summary xml:lang="en">Open-source implementation of JavaScript written entirely in Java</Summary>
        <Description xml:lang="en">Open-source implementation of JavaScript written entirely in Java</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

major = ".".join(get.srcVERSION().split(".")[:2])

def setup():
    pisitools.dosed("src/Makefile", "^CFLAGS.*$", "CFLAGS=%s -fPIC -DLUA_USE_LINUX -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" % get.CFLAGS())
    pisitools.dosed("src/Makefile", "^MYLDFLAGS.*$", "MYLDFLAGS=%s" % get.LDFLAGS())
    pisitools.dosed("lua.pc", "%VER%", "%s" % major)
    pisitools.dosed("lua.pc", "%REL%", "%s" % get.srcVERSION())

def build():
    autotools.make("linux")

def install():
    autotools.rawInstall("INSTALL_TOP=%s/usr INSTALL_MAN=%s/usr/share/man/ INSTALL_LIB=%s/usr/lib/" % (get.installDIR(), get.installDIR(), get.installDIR()))

    pisitools.insinto("/usr/lib", "src/liblua.so*")

    pisitools.insinto("/usr/lib/pkgconfig", "lua.pc")
    pisitools.insinto("/usr/lib/pkgconfig", "lua.pc", "lua5.3.pc")

    #free directory
    pisitools.removeDir("usr/lib/lua/")
    pisitools.removeDir("usr/share/lua/")

    pisitools.dohtml("doc")
    pisitools.dodoc("README")


code:
Index: lua-5.1.4/src/Makefile
===================================================================
--- lua-5.1.4.orig/src/Makefile
+++ lua-5.1.4/src/Makefile
@@ -53,7 +53,7 @@ $(LUA_A): $(CORE_O) $(LIB_O)
 	$(RANLIB) $@

 $(LUA_SO): $(CORE_O) $(LIB_O)
-	$(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LIBS) $(LUA_O)
+	$(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LUA_O) $(LIBS)
 	rm -f liblua.so
 	ln -fs $@ liblua.so

@@ -102,7 +102,7 @@ generic:
 	$(MAKE) all MYCFLAGS=

 linux:
-	$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
+	$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-ldl -lreadline -lhistory -lncurses"

 macosx:
 	$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lreadline"


code:
--- Makefile~	2008-08-12 03:40:48.000000000 +0300
+++ Makefile	2009-01-02 17:16:41.000000000 +0200
@@ -9,16 +9,16 @@

 # Where to install. The installation starts in the src and doc directories,
 # so take care if INSTALL_TOP is not an absolute path.
-INSTALL_TOP= /usr/local
+INSTALL_TOP= /usr
 INSTALL_BIN= $(INSTALL_TOP)/bin
 INSTALL_INC= $(INSTALL_TOP)/include
 INSTALL_LIB= $(INSTALL_TOP)/lib
-INSTALL_MAN= $(INSTALL_TOP)/man/man1
+INSTALL_MAN= $(INSTALL_TOP)/share/man/man1
 #
 # You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with
 # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc).
 INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
-INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
+INSTALL_CMOD= $(INSTALL_TOP)/lib

 # How to install. If your install program does not support "-p", then you
 # may have to run ranlib on the installed liblua.a (do "make ranlib").
@@ -43,7 +43,7 @@
 # What to install.
 TO_BIN= lua luac
 TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
-TO_LIB= liblua.a
+TO_LIB= liblua.so.$V
 TO_MAN= lua.1 luac.1

 # Lua version and release.
--- etc/lua.pc~	2008-08-08 15:46:11.000000000 +0300
+++ etc/lua.pc	2009-01-02 17:17:32.000000000 +0200
@@ -8,11 +8,11 @@
 R= 5.1.4

 # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
-prefix= /usr/local
+prefix= /usr
 INSTALL_BIN= ${prefix}/bin
 INSTALL_INC= ${prefix}/include
 INSTALL_LIB= ${prefix}/lib
-INSTALL_MAN= ${prefix}/man/man1
+INSTALL_MAN= ${prefix}/share/man/man1
 INSTALL_LMOD= ${prefix}/share/lua/${V}
 INSTALL_CMOD= ${prefix}/lib/lua/${V}


code:
diff --git a/Makefile b/Makefile
index 7fa91c8..dccf485 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ R= $V.0
 all:	$(PLAT)

 $(PLATS) clean:
-	cd src && $(MAKE) $@
+	cd src && $(MAKE) $@ V=$(V) R=$(R)

 test:	dummy
 	src/lua -v
diff --git a/src/Makefile b/src/Makefile
index 2e7a412..fa5769f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -29,6 +29,7 @@ MYOBJS=
 PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris

 LUA_A=	liblua.a
+LUA_SO= liblua.so
 CORE_O=	lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
 	lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o \
 	ltm.o lundump.o lvm.o lzio.o
@@ -43,7 +44,7 @@ LUAC_T=	luac
 LUAC_O=	luac.o

 ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O)
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
 ALL_A= $(LUA_A)

 # Targets start here.
@@ -59,6 +60,12 @@ $(LUA_A): $(BASE_O)
 	$(AR) $@ $(BASE_O)
 	$(RANLIB) $@

+$(LUA_SO): $(CORE_O) $(LIB_O)
+	$(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
+	ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
+	ln -sf $(LUA_SO).$(R) $(LUA_SO)
+
+
 $(LUA_T): $(LUA_O) $(LUA_A)
 	$(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)

diff --git a/src/luaconf.h b/src/luaconf.h
index fd28d21..e2662cc 100644
--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -175,7 +175,7 @@

 #else			/* }{ */

-#define LUA_ROOT	"/usr/local/"
+#define LUA_ROOT	"/usr/"
 #define LUA_LDIR	LUA_ROOT "share/lua/" LUA_VDIR "/"
 #define LUA_CDIR	LUA_ROOT "lib/lua/" LUA_VDIR "/"
 #define LUA_PATH_DEFAULT  \


code:
--- ./src/Makefile.dynlib	2006-03-22 01:41:49.000000000 +0100
+++ ./src/Makefile	2006-08-17 10:49:36.000000000 +0200
@@ -22,6 +22,7 @@

 PLATS= aix ansi bsd generic linux macosx mingw posix solaris

+LUA_SO= liblua.so.$(V)
 LUA_A=	liblua.a
 CORE_O=	lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
 	lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o  \
@@ -36,7 +37,7 @@
 LUAC_O=	luac.o print.o

 ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O)
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
 ALL_A= $(LUA_A)

 default: $(PLAT)
@@ -51,6 +52,11 @@
 	$(AR) $@ $?
 	$(RANLIB) $@

+$(LUA_SO): $(CORE_O) $(LIB_O)
+	$(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LIBS) $(LUA_O)
+	rm -f liblua.so
+	ln -fs $@ liblua.so
+
 $(LUA_T): $(LUA_O) $(LUA_A)
 	$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)

--- ./Makefile.dynlib	2006-06-02 12:53:38.000000000 +0200
+++ ./Makefile	2006-08-17 10:47:54.000000000 +0200
@@ -52,7 +52,7 @@
 all:	$(PLAT)

 $(PLATS) clean:
-	cd src && $(MAKE) $@
+	cd src && $(MAKE) V=$(V) $@

 test:	dummy
 	src/lua test/hello.lua


code:
#! /bin/sh /usr/share/dpatch/dpatch-run
## src_luaconf.h.dpatch by John V. Belmonte <jbelmonte@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Set Lua's default PATH and CPATH.

@DPATCH@
diff -urNad trunk~/src/luaconf.h trunk/src/luaconf.h
--- trunk~/src/luaconf.h	2006-02-10 12:44:06.000000000 -0500
+++ trunk/src/luaconf.h	2006-02-17 21:32:55.000000000 -0500
@@ -83,13 +83,17 @@

 #else
 #define LUA_ROOT	"/usr/local/"
+#define LUA_ROOT2	"/usr/"
 #define LUA_LDIR	LUA_ROOT "share/lua/5.1/"
+#define LUA_LDIR2	LUA_ROOT2 "share/lua/5.1/"
 #define LUA_CDIR	LUA_ROOT "lib/lua/5.1/"
+#define LUA_CDIR2	LUA_ROOT2 "lib/lua/5.1/"
 #define LUA_PATH_DEFAULT  \
 		"./?.lua;"  LUA_LDIR"?.lua;"  LUA_LDIR"?/init.lua;" \
-		            LUA_CDIR"?.lua;"  LUA_CDIR"?/init.lua"
+		            LUA_CDIR"?.lua;"  LUA_CDIR"?/init.lua;" \
+		            LUA_LDIR2"?.lua;"  LUA_LDIR2"?/init.lua"
 #define LUA_CPATH_DEFAULT \
-	"./?.so;"  LUA_CDIR"?.so;" LUA_CDIR"loadall.so"
+	"./?.so;" LUA_CDIR"?.so;" LUA_CDIR2"?.so;" LUA_CDIR"loadall.so"
 #endif


code:
Index: lua-5.1.4/etc/lua.pc
===================================================================
--- lua-5.1.4.orig/etc/lua.pc
+++ lua-5.1.4/etc/lua.pc
@@ -18,14 +18,13 @@ INSTALL_CMOD= ${prefix}/lib/lua/${V}

 # canonical vars
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
 includedir=${prefix}/include

 Name: Lua
 Description: An Extensible Extension Language
 Version: ${R}
 Requires:
-Libs: -L${libdir} -llua -lm
+Libs: -llua -lm
 Cflags: -I${includedir}

 # (end of lua.pc)


code:
V=%VER%
R=%REL%

prefix=/usr
INSTALL_BIN=${prefix}/bin
INSTALL_INC=${prefix}/include
INSTALL_LIB=${prefix}/lib
INSTALL_MAN=${prefix}/man/man1
INSTALL_LMOD=${prefix}/share/lua/${V}
INSTALL_CMOD=${prefix}/lib/lua/${V}
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: Lua
Description: An Extensible Extension Language
Version: ${R}
Requires:
Libs: -L${libdir} -llua -lm
Cflags: -I${includedir}


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>lua</Name>
        <Homepage>http://www.lua.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        A light-weight programming language
        <Description>lua is a powerful light-weight programming language designed for extending applications.</Description>
        <Archive sha1sum="79790cfd40e09ba796b01a571d4d63b52b1cd950" type="targz">http://www.lua.org/ftp/lua-5.3.4.tar.gz</Archive>
        <AdditionalFiles>
            <AdditionalFile target="lua.pc">lua.pc</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>readline-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">liblua.so.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>lua</Name>
        <RuntimeDependencies>
            <Dependency>readline</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/lua.png">lua.png</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>lua-devel</Name>
        Development files for lua
        <RuntimeDependencies>
            <Dependency release="current">lua</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-04-08</Date>
            <Version>5.3.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-02</Date>
            <Version>5.3.4</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-14</Date>
            <Version>5.3.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.2.4</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-06-03</Date>
            <Version>5.2.4</Version>
            <Comment>First release</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>lua</Name>
        Hafif bir programlama dili
        <Description xml:lang="tr">lua, uygulamaları genişletmek için tasarlanmış hafif ve güçlü bir programlama dilidir.</Description>
        <Description xml:lang="es">Lua es un lenguaje de programación liviano y potente con todas las herramientas imaginables</Description>
    </Source>

    <Package>
        <Name>lua-devel</Name>
        lua için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def build():
    shelltools.system("sed -r -e '/^LUA_(SO|A|T)=/ s/lua/lua5.1/' -e '/^LUAC_T=/ s/luac/luac5.1/' \
    -i src/Makefile")
    pisitools.dosed("src/Makefile", "^CFLAGS.*$", "CFLAGS=%s -DLUA_USE_LINUX" % get.CFLAGS())
    pisitools.dosed("src/Makefile", "^MYLDFLAGS.*$", "MYLDFLAGS=%s" % get.LDFLAGS())
    autotools.make("linux")

def install():
    options = "TO_BIN=\"lua5.1 luac5.1\" \
               TO_LIB=\"liblua5.1.a liblua5.1.so liblua5.1.so.5.1 liblua5.1.so.5.1.5 \" \
               INSTALL_DATA=\"cp -d\" \
               INSTALL_TOP=\"%s/usr\"  \
               INSTALL_INC=\"%s/usr/include/lua5.1\" \
               INSTALL_MAN=%s/usr/share/man/man1" % (get.installDIR(),get.installDIR(),get.installDIR())
    autotools.rawInstall(options)

    pisitools.removeDir("/usr/share/lua")
    pisitools.removeDir("/usr/lib/lua")

    pisitools.dosym("/usr/lib/liblua5.1.so", "/usr/lib/liblua.so.5.1")

    docs = [ "*.html", "*.png", "*.css", "*.gif" ]
    for d in docs:
        pisitools.insinto("/usr/share/doc/lua", "doc/%s" % d)
    pisitools.rename("/usr/share/man/man1/lua.1", "lua.5.1.1")
    pisitools.rename("/usr/share/man/man1/luac.1", "luac.5.1.1")


code:
From cc96b1f12a6549559274c6e7359edd576a55e4d2 Mon Sep 17 00:00:00 2001
From: Ikey Doherty <ikey@evolve-os.com>
Date: Sat, 24 Jan 2015 10:42:47 +0000
Subject: [PATCH] Use /usr, not /usr/local.
---
src/luaconf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/luaconf.h b/src/luaconf.h
index e2cb261..19692f3 100644
--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -94,7 +94,7 @@
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
#else
-#define LUA_ROOT "/usr/local/"
+#define LUA_ROOT "/usr/"
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
#define LUA_PATH_DEFAULT \
--
1.8.4


code:
diff -ru lua-5.2.1/Makefile lua-5.2.1.new/Makefile
--- lua-5.2.1/Makefile	2012-05-17 16:05:54.000000000 +0200
+++ lua-5.2.1.new/Makefile	2012-09-12 22:39:07.162748096 +0200
@@ -52,7 +52,7 @@
 all:	$(PLAT)

 $(PLATS) clean:
-	cd src && $(MAKE) $@
+	cd src && $(MAKE) $@ V=$(V) R=$(R)

 test:	dummy
 	src/lua -v
diff -ru lua-5.2.1/src/luaconf.h lua-5.2.1.new/src/luaconf.h
--- lua-5.2.1/src/luaconf.h	2012-05-11 16:14:42.000000000 +0200
+++ lua-5.2.1.new/src/luaconf.h	2012-09-12 22:40:27.986622772 +0200
@@ -100,7 +100,7 @@
 #else			/* }{ */

 #define LUA_VDIR	LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/"
-#define LUA_ROOT	"/usr/local/"
+#define LUA_ROOT	"/usr/"
 #define LUA_LDIR	LUA_ROOT "share/lua/" LUA_VDIR
 #define LUA_CDIR	LUA_ROOT "lib/lua/" LUA_VDIR
 #define LUA_PATH_DEFAULT  \
diff -ru lua-5.2.1/src/Makefile lua-5.2.1.new/src/Makefile
--- lua-5.2.1/src/Makefile	2012-03-09 17:32:16.000000000 +0100
+++ lua-5.2.1.new/src/Makefile	2012-09-12 22:38:08.591386896 +0200
@@ -29,6 +29,7 @@
 PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris

 LUA_A=	liblua.a
+LUA_SO= liblua.so
 CORE_O=	lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
 	lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o \
 	ltm.o lundump.o lvm.o lzio.o
@@ -43,7 +44,7 @@
 LUAC_O=	luac.o

 ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O)
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
 ALL_A= $(LUA_A)

 # Targets start here.
@@ -59,6 +60,12 @@
 	$(AR) $@ $(BASE_O)
 	$(RANLIB) $@

+$(LUA_SO): $(CORE_O) $(LIB_O)
+	$(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
+	ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
+	ln -sf $(LUA_SO).$(R) $(LUA_SO)
+
+
 $(LUA_T): $(LUA_O) $(LUA_A)
 	$(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)


code:
diff -Naur lua-5.1.orig/src/Makefile lua-5.1/src/Makefile
--- lua-5.1.orig/src/Makefile	2006-02-16 16:45:09.000000000 +0100
+++ lua-5.1/src/Makefile	2006-03-01 14:55:29.000000000 +0100
@@ -8,7 +8,8 @@
 PLAT= none

 CC= gcc
-CFLAGS= -O2 -Wall $(MYCFLAGS)
+CFLAGS ?= -O2 -Wall
+CFLAGS += $(MYCFLAGS)
 AR= ar rcu
 RANLIB= ranlib
 RM= rm -f


code:
V=5.1
R=5.1.5
prefix=/usr
INSTALL_BIN=${prefix}/bin
INSTALL_INC=${prefix}/include
INSTALL_LIB=${prefix}/lib
INSTALL_MAN=${prefix}/man/man1
INSTALL_LMOD=${prefix}/share/lua/${V}
INSTALL_CMOD=${prefix}/lib/lua/${V}
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Lua
Description: An Extensible Extension Language
Version: ${R}
Requires:
Libs: -L${libdir} -llua -lm
Cflags: -I${includedir}


code:
diff -ur lua-5.1.4/etc/lua.pc lua-5.1.4-new/etc/lua.pc
--- lua-5.1.4/etc/lua.pc	2008-08-08 14:46:11.000000000 +0200
+++ lua-5.1.4-new/etc/lua.pc	2012-02-23 18:25:34.000000000 +0100
@@ -8,6 +8,6 @@

 # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
-prefix= /usr/local
+prefix= /usr
 INSTALL_BIN= ${prefix}/bin
 INSTALL_INC= ${prefix}/include
 INSTALL_LIB= ${prefix}/lib
diff -ur lua-5.1.4/src/luaconf.h lua-5.1.4-new/src/luaconf.h
--- lua-5.1.4/src/luaconf.h	2008-02-11 17:25:08.000000000 +0100
+++ lua-5.1.4-new/src/luaconf.h	2012-02-23 18:25:34.000000000 +0100
@@ -94,7 +94,7 @@
 	".\\?.dll;"  LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"

 #else
-#define LUA_ROOT	"/usr/local/"
+#define LUA_ROOT	"/usr/"
 #define LUA_LDIR	LUA_ROOT "share/lua/5.1/"
 #define LUA_CDIR	LUA_ROOT "lib/lua/5.1/"
 #define LUA_PATH_DEFAULT  \
diff -ur lua-5.1.4/src/Makefile lua-5.1.4-new/src/Makefile
--- lua-5.1.4/src/Makefile	2008-01-19 20:37:58.000000000 +0100
+++ lua-5.1.4-new/src/Makefile	2012-02-23 18:26:43.000000000 +0100
@@ -23,6 +23,7 @@
 PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris

 LUA_A=	liblua.a
+LUA_SO=	liblua.so
 CORE_O=	lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
 	lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o  \
 	lundump.o lvm.o lzio.o
@@ -36,7 +37,7 @@
 LUAC_O=	luac.o print.o

 ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O)
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
+ALL_T= $(LUA_A) $(LUA_SO) $(LUA_T) $(LUAC_T)
 ALL_A= $(LUA_A)

 default: $(PLAT)
@@ -51,6 +52,11 @@
 	$(AR) $@ $?
 	$(RANLIB) $@

+$(LUA_SO): $(CORE_O) $(LIB_O)
+	$(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
+	ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
+	ln -sf $(LUA_SO).$(R) $(LUA_SO)
+
 $(LUA_T): $(LUA_O) $(LUA_A)
 	$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)

--- lua-5.1.4/Makefile	2008-08-12 02:40:48.000000000 +0200
+++ lua-5.1.4-new/Makefile	2012-02-23 19:06:32.000000000 +0100
@@ -53,7 +53,7 @@
 all:	$(PLAT)

 $(PLATS) clean:
-	cd src && $(MAKE) $@
+	cd src && $(MAKE) $@ V=$(V) R=$(R)

 test:	dummy
 	src/lua test/hello.lua


code:
V=5.1
R=5.1.5

prefix=/usr
INSTALL_BIN=${prefix}/bin
INSTALL_INC= ${prefix}/include/lua5.1
INSTALL_LIB=${prefix}/lib
INSTALL_MAN=${prefix}/man/man1
INSTALL_LMOD=${prefix}/share/lua/${V}
INSTALL_CMOD=${prefix}/lib/lua/${V}
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/lua5.1

Name: Lua
Description: An Extensible Extension Language
Version: ${R}
Requires:
Libs: -L${libdir} -llua5.1 -lm
Cflags: -I${includedir}


code:
ubmitted By: Igor Živković <contact at igor hyphen zivkovic dot from dot hr>
Date: 2013-07-17
Initial Package Version: 5.1.5
Upstream Status: Rejected
Origin: Arch Linux packages repository
Description: Adds the compilation of a shared library.
diff -Naur lua-5.1.5.orig/Makefile lua-5.1.5/Makefile
--- lua-5.1.5.orig/Makefile 2012-02-10 10:50:23.000000000 +0100
+++ lua-5.1.5/Makefile 2013-07-17 18:57:36.498528022 +0200
@@ -53,7 +53,7 @@
all: $(PLAT)
$(PLATS) clean:
- cd src && $(MAKE) $@
+ cd src && $(MAKE) $@ V=$(V) R=$(R)
test: dummy
src/lua test/hello.lua
diff -Naur lua-5.1.5.orig/src/Makefile lua-5.1.5/src/Makefile
--- lua-5.1.5.orig/src/Makefile 2012-02-13 21:41:22.000000000 +0100
+++ lua-5.1.5/src/Makefile 2013-07-17 19:00:46.142921587 +0200
@@ -8,7 +8,7 @@
PLAT= none
CC= gcc
-CFLAGS= -O2 -Wall $(MYCFLAGS)
+CFLAGS= -fPIC -O2 -Wall $(MYCFLAGS)
AR= ar rcu
RANLIB= ranlib
RM= rm -f
@@ -23,6 +23,7 @@
PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
LUA_A= liblua.a
+LUA_SO= liblua.so
CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \
lundump.o lvm.o lzio.o
@@ -36,7 +37,7 @@
LUAC_O= luac.o print.o
ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O)
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
ALL_A= $(LUA_A)
default: $(PLAT)
@@ -51,6 +52,11 @@
$(AR) $@ $(CORE_O) $(LIB_O) # DLL needs all object files
$(RANLIB) $@
+$(LUA_SO): $(CORE_O) $(LIB_O)
+ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
+ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
+ ln -sf $(LUA_SO).$(R) $(LUA_SO)
+
$(LUA_T): $(LUA_O) $(LUA_A)
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>lua51</Name>
        <Homepage>http://www.lua.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        A light-weight programming language
        <Description>lua51 is a powerful light-weight programming language designed for extending applications.</Description>
        <Archive sha1sum="b3882111ad02ecc6b972f8c1241647905cb2e3fc" type="targz">http://www.lua.org/ftp/lua-5.1.5.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>readline-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">lua-5.1-cflags.diff</Patch>
            <Patch level="1">lua-arch.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>lua51</Name>
        <RuntimeDependencies>
            <Dependency>readline</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/sbin/lsmod</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/lua5.1</Path>
            <Path fileType="data">/luac5.1.1/luac.1</Path>
            <Path fileType="data">/lua5.1.1/lua.1</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/lua51.png">lua.png</AdditionalFile>
            <AdditionalFile target="/usr/lib/pkgconfig/lua5.1.pc" permission="644">lua.pc</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>lua51-devel</Name>
        Development files for lua51
        <RuntimeDependencies>
            <Dependency release="current">lua51</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-04-16</Date>
            <Version>5.1.5</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.1.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-09</Date>
            <Version>5.1.5</Version>
            <Comment>First release</Comment>
            <Name>Hakan Yıldız</Name>
            <Email>hknyldz93@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>lua51</Name>
        Hafif bir programlama dili
        <Description xml:lang="tr">lua51, uygulamaları genişletmek için tasarlanmış hafif ve güçlü bir programlama dilidir.</Description>
        <Description xml:lang="es">Lua51 es un lenguaje de programación liviano y potente con todas las herramientas imaginables</Description>
    </Source>

    <Package>
        <Name>lua51-devel</Name>
        lua51 için geliştirme dosyaları
    </Package>
</PISI>


code:
<PISI>
    <Name>programming.language.ocaml</Name>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    #shelltools.export("CFLAGS", get.CFLAGS().replace("-fomit-frame-pointer", ""))
    #shelltools.export("LDFLAGS", get.LDFLAGS())

    autotools.rawConfigure("-prefix /usr \
                            -bindir /usr/bin \
                            -x11include /usr/include \
                            -libdir /usr/lib/ocaml \
                            -mandir /usr/share/man \
                            --with-pthread")

def build():
    autotools.make("-j1 world")
    autotools.make("-j1 opt")
    autotools.make("-j1 opt.opt")
    autotools.make("-C emacs ocamltags")

def install():
    autotools.rawInstall("BINDIR=%(install)s/usr/bin \
                          LIBDIR=%(install)s/usr/lib/ocaml \
                          MANDIR=%(install)s/usr/share/man" \
                          % { "install": get.installDIR()})

    pisitools.dodoc("Changes", "LICENSE", "README*")

    ''' autotools.rawInstall("-C emacs \
                        BINDIR=%(install)s/usr/bin \
                        EMACSDIR=%(install)s/usr/share/emacs/site-lisp"
                        % { "install": get.installDIR()})
    '''
    # Remove rpaths from stublibs .so files
    shelltools.system("chrpath --delete %s/usr/lib/ocaml/stublibs/*.so"
                    % get.installDIR())


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>ocaml</Name>
        <Homepage>http://www.ocaml.org/</Homepage>
        <Packager>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Packager>
        <License>OPL</License>
        <IsA>app:console</IsA>
        <Summary>Fast modern type-inferring functional programming language</Summary>
        <Description>A fast modern type-inferring functional programming language descended from the ML (Meta Language) family.</Description>
        <!-- Caution! Updating this package to a new version, may break ocaml modules like facile. Modules need to be recompiled to resolve this. Also, errors like below are indications of this situation:

        File "_none_", line 1, characters 0-1:
        Error: Files /usr/lib/ocaml/facile/facile.cmxa and /usr/lib/ocaml/stdlib.cmxa
               make inconsistent assumptions over implementation Printf
        -->
        <Archive sha1sum="1878ba4338e4fad5b057428e182fba806c545d57" type="tarxz">https://caml.inria.fr/pub/distrib/ocaml-4.04/ocaml-4.04.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>zlib-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>chrpath</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>ocaml</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>libX11</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/</Path>
            <Path fileType="library">/usr/lib/</Path>
            <Path fileType="doc">/usr/share/doc/</Path>
            <Path fileType="man">/usr/share/man/</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-03-08</Date>
            <Version>4.04.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>4.02.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-04-04</Date>
            <Version>4.02.1</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>ocaml</Name>
        Hızlı ve modern bir programlama dili
        <Description xml:lang="tr">OcaML, ML dilinin soyundan gelen fonksiyonel bir programlama dilidir</Description>
    </Source>

    <Package>
        <Name>ocaml-mode</Name>
        Emacs için ocaml kipi
    </Package>

    <Package>
        <Name>labltk</Name>
        Ocaml için tk araç bağlayıcıları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    perlmodules.configure()

def build():
    perlmodules.make()

def check():
    perlmodules.make("test")

def install():
    perlmodules.install()

    pisitools.dodoc("MANIFEST", "README", "Changes")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>Perl-XML-SAX-BASE</Name>
        <Homepage>http://search.cpan.org/~grantm/XML-SAX-Base-1.08/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Artistic</License>
        <PartOf>programming.language.perl</PartOf>
        <IsA>app:console</IsA>
        <Summary>Base class SAX Drivers and Filters</Summary>
        <Description>This module has a very simple task - to be a base class for PerlSAX drivers and filters. It's default behaviour is to pass the input directly to the output unchanged. It can be useful to use this module as a base class so you don't have to, for example, implement the characters() callback.</Description>
        <Archive sha1sum="bf2c97ed35d5de09015d5a6f6ab8a8ee50aedd4a" type="targz">http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-SAX-Base-1.09.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
        </BuildDependencies>
    </Source>
    <Package>
        <Name>Perl-XML-SAX-BASE</Name>
        <RuntimeDependencies>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/perl5/vendor_perl</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>
    <History>
        <Update release="1">
            <Date>2017-12-12</Date>
            <Version>1.09</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>Perl-XML-SAX-BASE</Name>
        <Summary xml:lang="en">Base class SAX Drivers and Filters</Summary>
    </Source>
</PISI>


code:
<PISI>
    <Name>programming.language.perl</Name>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())

def setup():
    perlmodules.configure()

def build():
    perlmodules.make()

def install():
    perlmodules.install()

    pisitools.dodoc("Changes")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>perl-Archive-Zip</Name>
        <Homepage>http://search.cpan.org/dist/Archive-Zip</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Artistic</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>Perl interface to ZIP archive files</Summary>
        <Description>The Archive::Zip module allows a Perl program to create, manipulate, read, and write Zip archive files. This module uses the Compress::Zlib library to read and write the compressed streams inside the files.</Description>
        <Archive sha1sum="1f229e626474dbc75547ce0f60bae25c5048bd57" type="targz">http://www.cpan.org/authors/id/P/PH/PHRED/Archive-Zip-1.59.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
            <Dependency>perl-Test-MockModule</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>perl-Archive-Zip</Name>
        <RuntimeDependencies>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/perl5</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="executable">/usr/bin</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>1.59</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.49</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-15</Date>
            <Version>1.49</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>perl-Archive-Zip</Name>
        <Summary xml:lang="tr">ZIP arşivlerine erişim için Perl modülü</Summary>
        <Description xml:lang="tr">Bu modül, Perl programlarının Zip arşiv dosyalarını oluşturmasını, düzenlemesini ve okumasını sağlar. Dosyaların içindeki akımları okumak ve yazmak için Compress:Zlib kütüphanesini kullanır.</Description>
        <Description xml:lang="es">El módulo Archive::Zip permite a programas Perl la creación, manipulación, lectura y escritura de archivos comprimidos ZIP. Este módulo utiliza la librería Compress::Zlib para leer y escribir los flujos (streams) comprimidos dentro de los archivos.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())

def setup():
    perlmodules.configure()

def build():
    perlmodules.make()

def check():
    perlmodules.make("test")

def install():
    perlmodules.install()

    pisitools.dodoc("MANIFEST", "Changes")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>perl-Authen-SASL</Name>
        <Homepage>http://search.cpan.org/dist/Authen-SASL</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Artistic</License>
        <IsA>library</IsA>
        <Summary>A Perl SASL interface</Summary>
        <Description>SASL is a generic mechanism for authentication used by several network protocols. Authen::SASL provides an implementation framework that all protocols should be able to share. The framework allows different implementations of the connection class to be plugged in.</Description>
        <Archive sha1sum="0f1e0c448deab4dad0f15466ba765def4012db93" type="targz">http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Authen-SASL-2.16.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
            <Dependency>perl-GSSAPI</Dependency>
            <Dependency>perl-Digest-HMAC</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>perl-Authen-SASL</Name>
        <RuntimeDependencies>
            <Dependency>perl</Dependency>
            <Dependency>perl-GSSAPI</Dependency>
            <Dependency>perl-Digest-HMAC</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/perl-Authen-SASL</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>2.16</Version>
            <Comment>Rebuild for new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.16</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-14</Date>
            <Version>2.16</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>perl-Authen-SASL</Name>
        <Summary xml:lang="tr">Perl için SASL modülü</Summary>
        <Description xml:lang="tr">SASL, ağ protokolleri tarafından kullanılan genel bir kimlik doğrulama tekniğidir. Authen::SASL, bütün protokollerin paylaşabileceği bir yapı sağlar. Bu yapı, kullanılacak bağlantı sınıfının farklı şekillerde uygulamalarına izin verir.</Description>
        <Description xml:lang="es">SASL es un mecanismo genérico de autenticación usado en varios protocolos de red. Authen::SASL facilita un capa de implementación, que todos los protocolos deberían poder compartir. El framework permite adjuntar implementaciones diferentes de la clase de conexión.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())

def setup():
    perlmodules.configure()

def build():
    perlmodules.make()

def check():
    perlmodules.make("test")

def install():
    perlmodules.install()

    pisitools.dodoc("README*", "Changes")


code:
<PISI>
    <Source>
        <Name>perl-CGI</Name>
        <Homepage>http://search.cpan.org/dist/CGI/</Homepage>
        <Packager>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Packager>
        <License>Artistic</License>
        <License>GPLv1</License>
        <IsA>library</IsA>
        Handle Common Gateway Interface requests and responses.
        <Description>Handle Common Gateway Interface requests and responses.</Description>
        <Archive type="targz" sha1sum="2f9c226b7bce80e061da26fc87a12f2eeb7c00c6">http://www.cpan.org/authors/id/L/LE/LEEJO/CGI-4.35.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
            <Dependency>perl-HTML-Parser</Dependency>
            <Dependency>perl-Test-Deep</Dependency>
            <Dependency>perl-Test-Warn</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>perl-CGI</Name>
        Handle Common Gateway Interface requests and responses.
        <RuntimeDependencies>
            <Dependency>perl</Dependency>
            <Dependency>perl-HTML-Parser</Dependency>
            <Dependency>perl-Test-Deep</Dependency>
            <Dependency>perl-Test-Warn</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="all">/</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>4.35</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>4.28</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-27</Date>
            <Version>4.28</Version>
            <Comment>First release.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())

def setup():
    perlmodules.configure()

def build():
    perlmodules.make()

def check():
    perlmodules.make("test")

def install():
    perlmodules.install()


code:
<PISI>
    <Source>
        <Name>perl-Canary-Stability</Name>
        <Homepage>https://metacpan.org/release/Canary-Stability</Homepage>
        <Packager>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Packager>
        <License>GPLv1</License>
        <IsA>library</IsA>
        CPAN/Canary-Stability - canary to check perl compatability for schmorp's modules
        <Description>CPAN/Canary-Stability - canary to check perl compatability for schmorp's modules</Description>
        <Archive sha1sum="9d3c5476081da9200ef59cacafea55bd011b6d8a" type="targz">https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Canary-Stability-2012.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>perl-Canary-Stability</Name>
        CPAN/Canary-Stability - canary to check perl compatability for schmorp's modules
        <RuntimeDependencies>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="all">/</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>2012</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2011</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-27</Date>
            <Version>2011</Version>
            <Comment>First Release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools

def setup():
    perlmodules.configure()

def build():
    perlmodules.make()

def check():
    perlmodules.make("test")

def install():
    perlmodules.install()

    pisitools.dodoc("README", "Changes", "LICENSE")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>perl-Capture-Tiny</Name>
        <Homepage>http://search.cpan.org/dist/Capture-Tiny</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Apache-2.0</License>
        <IsA>library</IsA>
        <Summary>Perl module to capture stdout and stderr from Perl, XS or external programs</Summary>
        <Description>perl-Capture-Tiny is a Perl module to capture stdout and stderr from Perl, XS or external programs.</Description>
        <Archive sha1sum="d2ec7a63ecdffbdb59ec77683fe38063623d6330" type="targz">http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-0.44.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>perl-Capture-Tiny</Name>
        <RuntimeDependencies>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>0.44</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.36</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-27</Date>
            <Version>0.36</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>perl-Capture-Tiny</Name>
        <Summary xml:lang="tr">Standart çıktı ve hata akışlarının yakalamaya yarayan Perl modülü</Summary>
        <Description xml:lang="tr">perl-Capture-Tiny, Perl, XS veya harici programların standart çıktı ve hata akışlarının yakalanmasını sağlayan bir Perl modülüdür.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "Crypt-PasswdMD5-%s" % get.srcVERSION()

def setup():
    perlmodules.configure()

def build():
    perlmodules.make()

def check():
    perlmodules.make("test")

def install():
    perlmodules.install()

    pisitools.dodoc("README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>perl-Crypt-PasswdMD5</Name>
        <Homepage>http://search.cpan.org/dist/Crypt-PasswdMD5/</Homepage>
        <Packager>
            <Name>Selim Ok</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Artistic</License>
        <IsA>library</IsA>
        <Summary>Crypt::PasswdMD5 module for perl</Summary>
        <Description>Provides various crypt()-compatible interfaces to the MD5-based crypt() function.</Description>
        <Archive sha1sum="7bc5aa63adefb575462eaf1430af9812a0541295" type="targz">http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-1.40.tgz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
            <Dependency>perl-Module-Build</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>perl-Crypt-PasswdMD5</Name>
        <RuntimeDependencies>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="man">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>1.40</Version>
            <Comment>Rebuild for new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.40</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-09-10</Date>
            <Version>1.40</Version>
            <Comment>First release</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>perl-Crypt-PasswdMD5</Name>
        <Summary xml:lang="tr">Perl için Crypt::PasswdMD5 modülü</Summary>
        <Description xml:lang="tr">MD5 tabanlı crypt() fonksiyonu için, crypt() uyumlu çeşitli arayüzler sağlar.</Description>
    </Source>
</PISI>


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>perl-Devel-Symdump</Name>
        <Homepage>http://search.cpan.org/dist/Devel-Symdump/</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Packager>
        <License>Artistic</License>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Dump symbol names or the symbol table</Summary>
        <Description>perl-Devel-Symdump is a Perl module that dumps symbol names or the symbol table.</Description>
        <Archive sha1sum="9bb01879cfe1df2094ceddc7ed65cd08df682886" type="targz">http://www.cpan.org/authors/id/A/AN/ANDK/Devel-Symdump-2.17.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
        </BuildDependencies>
    </Source>
    <Package>
        <Name>perl-Devel-Symdump</Name>
        <RuntimeDependencies>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>2.17</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.15</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-27</Date>
            <Version>2.15</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>perl-Devel-Symdump</Name>
        <Summary xml:lang="tr">Sembol isimlerinin veya sembol tablosunun dökümünü verir</Summary>
        <Description xml:lang="tr">perl-Devel-Symdump sembol isimlerinin veya sembol tablosunun dökümünü veren bir Perl modülüdür.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import perlmodules
from pisi.actionsapi import get
from pisi.actionsapi import pisitools

WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())

def setup():
    perlmodules.configure()

def build():
    perlmodules.make()

def check():
    perlmodules.make("test")

def install():
    perlmodules.install()


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>perl-Digest-HMAC</Name>
        <Homepage>http://search.cpan.org/dist/Digest-HMAC</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Artistic</License>
        <IsA>library</IsA>
        <Summary>Keyed-Hashing for Message Authentication</Summary>
        <Description>This Perl module provides HMAC-MD5 hashing.</Description>
        <Archive sha1sum="b3f931032a9a8d9ba42d1c5d4684b06e60e183c7" type="targz">http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-1.03.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
            <Dependency>perl-Digest-SHA1</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>perl-Digest-HMAC</Name>
        <RuntimeDependencies>
            <Dependency>perl</Dependency>
            <Dependency>perl-Digest-SHA1</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>1.03</Version>
            <Comment>Rebuild for new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.03</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-14</Date>
            <Version>1.03</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>perl-Digest-HMAC</Name>
        <Description xml:lang="tr">Bu Perl modülü HMAC-MD5 şifrelemesi sağlar.</Description>
        <Description xml:lang="es">Este módulo Perl facilita hashing HMAC-MD5</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir=""

def setup():
    perlmodules.configure()

def build():
    perlmodules.make()

# FIXME: test fails
def check():
    perlmodules.make("test")

def install():
    perlmodules.install()

    #perl-docs Conflicted
    pisitools.remove("/usr/share/man/man3/Digest::MD5.3pm")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>perl-Digest-MD5</Name>
        <Homepage>http://www.cpan.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Artistic</License>
        <IsA>library</IsA>
        <Summary>Perl interface to the MD5 Algorithm</Summary>
        <Description>Perl interface to the MD5 Algorithm</Description>
        <Archive sha1sum="59dc31b43c84d5e18ba60f25f513929c2f05ad51" type="targz">http://www.cpan.org/authors/id/G/GA/GAAS/Digest-MD5-2.55.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>perl-Digest-MD5</Name>
        <RuntimeDependencies>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/perl</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>2.55</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.53</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-09-10</Date>
            <Version>2.53</Version>
            <Comment>First release</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>perl-Digest-MD5</Name>
        <Summary xml:lang="tr">MD5 Algoritmasına perl arayüzü</Summary>
        <Description xml:lang="tr">MD5 Algoritmasına perl arayüzü</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())

def setup():
    perlmodules.configure()

def build():
    perlmodules.make()

def check():
    perlmodules.make("test")

def install():
    perlmodules.install()

    pisitools.dodoc("Changes","README")