ada new package
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env 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 cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-B build")
|
||||
|
||||
def build():
|
||||
cmaketools.make("-C build")
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("LICENSE-*", "README*")
|
||||
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ada</Name>
|
||||
<Homepage>https://github-cdn.pages.dev/ada-url/ada/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>APACHE</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Ada is a fast and spec-compliant URL parser written in C++.</Summary>
|
||||
<Description>Ada, C++ ile yazılmış, hızlı ve spesifikasyonlara uygun bir URL ayrıştırıcısıdır.</Description>
|
||||
<Archive sha1sum="5add21611bb51c17922c4334d19971e003037658" type="targz">https://github-cdn.pages.dev/ada-url/ada/archive/refs/tags/v2.9.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>git</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>gtest-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<!--
|
||||
<Patches>
|
||||
<Patch>ada.patch</Patch>
|
||||
<Patch level="1">ada.patch</Patch>
|
||||
</Patches>
|
||||
-->
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>ada</Name>
|
||||
<!--
|
||||
<RuntimeDependencies>
|
||||
<Dependency>Dep1</Dependency>
|
||||
</RuntimeDependencies>
|
||||
-->
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>ada-devel</Name>
|
||||
<Summary>Development files for ada</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">ada</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2024-08-02</Date>
|
||||
<Version>2.9.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ada</Name>
|
||||
<Summary xml:lang="tr">Ada is a fast and spec-compliant URL parser written in C++.</Summary>
|
||||
<Description xml:lang="tr">Ada, C++ ile yazılmış, hızlı ve spesifikasyonlara uygun bir URL ayrıştırıcısıdır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user