Add lz4 package

This commit is contained in:
Safa Arıman
2020-03-21 00:08:07 +03:00
parent 090b52784a
commit 45ed2b16ee
3 changed files with 80 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/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
import os
from pisi.actionsapi import autotools
def build():
autotools.make('-C lib PREFIX=/usr')
autotools.make('-C programs PREFIX=/usr lz4 lz4c')
def install():
autotools.rawInstall('PREFIX=/usr DESTDIR=%s' % os.environ.pop('INSTALL_DIR'))
+56
View File
@@ -0,0 +1,56 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>lz4</Name>
<Homepage>https://lz4.github.io/lz4/</Homepage>
<Packager>
<Name>Safa Arıman</Name>
<Email>safa@ariman.gen.tr</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Extremely fast compression algorithm</Summary>
<Description>LZ4 is an extremely fast loss-less compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-core CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.</Description>
<Archive sha1sum="4dc36f29d7b4e5b45b114be2674068200714abb3" type="targz">https://github.com/lz4/lz4/archive/v1.9.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>make</Dependency>
<Dependency>glibc-devel</Dependency>
<Dependency>diffutils</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>lz4</Name>
<RuntimeDependencies>
<Dependency>glibc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/liblz4*</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>lz4-devel</Name>
<Summary>Development files for lz4</Summary>
<RuntimeDependencies>
<Dependency release="current">lz4</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-03-19</Date>
<Version>1.9.2</Version>
<Comment>First release</Comment>
<Name>Safa Arıman</Name>
<Email>safa@ariman.gen.tr</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>lz4</Name>
<Summary xml:lang="tr">Extremely fast compression algorithm</Summary>
<Description xml:lang="tr">LZ4 is an extremely fast loss-less compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-core CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.</Description>
</Source>
</PISI>