diff --git a/system/base/zstd/actions.py b/system/base/zstd/actions.py new file mode 100644 index 00000000..32b1b372 --- /dev/null +++ b/system/base/zstd/actions.py @@ -0,0 +1,29 @@ +#!/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 +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.makedirs("bld") + shelltools.cd("bld") + shelltools.system("meson setup \ + ../build/meson \ + --prefix=/usr \ + -Dlegacy-level=7 \ + -Dzlib=enabled \ + -Dlzma=enabled \ + -Dlz4=enabled \ + ") + +def build(): + shelltools.cd("bld") + shelltools.system("ninja") + +def install(): + shelltools.cd("bld") + shelltools.system("DESTDIR=%s ninja install" % get.installDIR()) diff --git a/system/base/zstd/pspec.xml b/system/base/zstd/pspec.xml new file mode 100644 index 00000000..e95d45b8 --- /dev/null +++ b/system/base/zstd/pspec.xml @@ -0,0 +1,60 @@ + + + + + zstd + https://facebook.github.io/zstd/ + + İdris Kalp + idriskalp@gmail.com + + BSD + library + Zstandard - Fast real-time compression algorithm + Zstandard is a fast compression algorithm, providing high compression ratios. It also offers a special mode for small data, called dictionary compression.. + https://github.com/facebook/zstd/releases/download/v1.4.5/zstd-1.4.5.tar.gz + + meson + ninja + lz4-devel + zlib-devel + xz-devel + + + + + zstd + + lz4 + zlib + xz + + + /usr/bin + /usr/lib/libzstd* + /usr/share/man + + + + + zstd-devel + Development files for zstd + + zstd + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2020-10-22 + 1.4.5 + First release + İdris Kalp + idriskalp@gmail.com + + +