zsdt First release

This commit is contained in:
Rmys
2020-02-18 22:10:40 +03:00
parent 805002a62c
commit 7ba3b08a82
7 changed files with 271 additions and 48 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/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 get
def build():
autotools.make()
autotools.make("zstdmt")
autotools.make("-C contrib/pzstd")
def check():
autotools.make("check")
autotools.make("-C contrib/pzstd test")
def install():
autotools.rawInstall("PREFIX=/usr DESTDIR=%s" % get.installDIR())
pisitools.dobin("zstdmt")
pisitools.dobin("contrib/pzstd/pzstd")
pisitools.dodoc("CONTRIBUTING*", "CHANGELOG*", "COPYING", "LICENSE", "README*")
+65
View File
@@ -0,0 +1,65 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>zstd</Name>
<Homepage>https://www.zstd.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPL2</License>
<IsA>app:console</IsA>
<Summary>Zstandard - Fast real-time compression algorithm</Summary>
<Description>Zstandard - Fast real-time compression algorithm</Description>
<Archive sha1sum="355e79185fa1ea5b325d63cfcb6ead6e6e4aa9c4" type="targz">https://github.com/facebook/zstd/releases/download/v1.4.4/zstd-1.4.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>libgcc</Dependency>
<Dependency>xz-devel</Dependency>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>zstd.patch</Patch>
<Patch level="1">zstd.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>zstd</Name>
<RuntimeDependencies>
<Dependency>xz</Dependency>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>zstd-devel</Name>
<Summary>Development files for zstd</Summary>
<RuntimeDependencies>
<Dependency release="current">zstd</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-02-14</Date>
<Version>1.4.4</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>zstd</Name>
<Summary xml:lang="tr">Zstandard - Fast real-time compression algorithm</Summary>
<Description xml:lang="tr">Zstandard - Fast real-time compression algorithm</Description>
</Source>
</PISI>