From 45ed2b16ee74c2358702a6908c7af17801e8fcf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Safa=20Ar=C4=B1man?= Date: Sat, 21 Mar 2020 00:08:07 +0300 Subject: [PATCH] Add lz4 package --- util/crypt/lz4/actions.py | 16 ++++++++++ util/crypt/lz4/pspec.xml | 56 +++++++++++++++++++++++++++++++++ util/crypt/lz4/translations.xml | 8 +++++ 3 files changed, 80 insertions(+) create mode 100644 util/crypt/lz4/actions.py create mode 100644 util/crypt/lz4/pspec.xml create mode 100644 util/crypt/lz4/translations.xml diff --git a/util/crypt/lz4/actions.py b/util/crypt/lz4/actions.py new file mode 100644 index 0000000000..fcd2738ee1 --- /dev/null +++ b/util/crypt/lz4/actions.py @@ -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')) diff --git a/util/crypt/lz4/pspec.xml b/util/crypt/lz4/pspec.xml new file mode 100644 index 0000000000..49777a99e8 --- /dev/null +++ b/util/crypt/lz4/pspec.xml @@ -0,0 +1,56 @@ + + + + + lz4 + https://lz4.github.io/lz4/ + + Safa Arıman + safa@ariman.gen.tr + + BSD + library + Extremely fast compression algorithm + 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. + https://github.com/lz4/lz4/archive/v1.9.2.tar.gz + + make + glibc-devel + diffutils + + + + + lz4 + + glibc + + + /usr/bin + /usr/lib/liblz4* + /usr/share/man + + + + + lz4-devel + Development files for lz4 + + lz4 + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2020-03-19 + 1.9.2 + First release + Safa Arıman + safa@ariman.gen.tr + + + diff --git a/util/crypt/lz4/translations.xml b/util/crypt/lz4/translations.xml new file mode 100644 index 0000000000..a601a1458c --- /dev/null +++ b/util/crypt/lz4/translations.xml @@ -0,0 +1,8 @@ + + + + lz4 + Extremely fast compression algorithm + 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. + +