cargo-c rav1e 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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
|
||||
def build():
|
||||
|
||||
shelltools.system('cargo build --release')
|
||||
|
||||
def install():
|
||||
shelltools.system("cargo install --path . --root='%s'/usr" % get.installDIR())
|
||||
|
||||
pisitools.remove("/usr/.crates.toml")
|
||||
pisitools.remove("/usr/.crates2.json")
|
||||
|
||||
pisitools.dodoc("LICENSE", "README*")
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cargo-c</Name>
|
||||
<Homepage>https://github.com/lu-zero/cargo-c</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Summary>
|
||||
<Description>A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Description>
|
||||
<Archive sha1sum="991664fdb5c479c795c5520937d54b6ef59b5f6a" type="targz">https://github.com/lu-zero/cargo-c/archive/refs/tags/v0.9.5.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>rust</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<!--
|
||||
<Patches>
|
||||
<Patch>cargo-c.patch</Patch>
|
||||
<Patch level="1">cargo-c.patch</Patch>
|
||||
</Patches>
|
||||
-->
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cargo-c</Name>
|
||||
<!--
|
||||
<RuntimeDependencies>
|
||||
<Dependency>rust</Dependency>
|
||||
</RuntimeDependencies>
|
||||
-->
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-11-02</Date>
|
||||
<Version>0.9.5</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>cargo-c</Name>
|
||||
<Summary xml:lang="tr">A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Summary>
|
||||
<Description xml:lang="tr">A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user