From 07d31d481901bef40aac0b3e8268f4fba7c75f79 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Wed, 8 Feb 2023 21:43:51 +0300 Subject: [PATCH] add deflate library. --- util/archive/libdeflate/actions.py | 25 ++++++++++++ util/archive/libdeflate/pspec.xml | 62 ++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 util/archive/libdeflate/actions.py create mode 100644 util/archive/libdeflate/pspec.xml diff --git a/util/archive/libdeflate/actions.py b/util/archive/libdeflate/actions.py new file mode 100644 index 0000000000..68f5173e47 --- /dev/null +++ b/util/archive/libdeflate/actions.py @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import cmaketools, pisitools + +i = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DLIBDEFLATE_USE_SHARED_LIB=ON', + ' -DLIBDEFLATE_BUILD_STATIC_LIB=OFF', + ' -B_build -L ' + ]) + +def setup(): + cmaketools.configure(i) + +def build(): + cmaketools.make("-C _build") + +def install(): + cmaketools.install("-C _build") + + pisitools.dodoc("NEWS.md") diff --git a/util/archive/libdeflate/pspec.xml b/util/archive/libdeflate/pspec.xml new file mode 100644 index 0000000000..e729fcd25e --- /dev/null +++ b/util/archive/libdeflate/pspec.xml @@ -0,0 +1,62 @@ + + + + + libdeflate + https://github.com/ebiggers/libdeflate + + fury + uglyside@yandex.ru + + MIT + library + util.archive + Heavily optimized library for DEFLATE/zlib/gzip compression and decompression. + libdeflate is a library for fast, whole-buffer DEFLATE-based compression and decompression. + + https://github.com/ebiggers/libdeflate/archive/refs/tags/v1.17.tar.gz + + + cmake + gzip + zlib-devel + + + + + + + + libdeflate + + libgcc + + + /usr/bin + /usr/lib/libdeflate.so* + /usr/share/doc/libdeflate + + + + + libdeflate-devel + + libdeflate + + + /usr/lib/cmake/libdeflate + /usr/lib/pkgconfig/libdeflate.pc + /usr/include/libdeflate.h + + + + + + 2023-02-08 + 1.17 + First build. + fury + uglyside@yandex.ru + + +