]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add the packaging metadata to build the zstd snap 1015/head
authorLeo Arias <leo.arias@canonical.com>
Wed, 14 Feb 2018 00:37:58 +0000 (00:37 +0000)
committerLeo Arias <leo.arias@canonical.com>
Wed, 14 Feb 2018 00:37:58 +0000 (00:37 +0000)
snap/snapcraft.yaml [new file with mode: 0644]

diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
new file mode 100644 (file)
index 0000000..0a77946
--- /dev/null
@@ -0,0 +1,28 @@
+name: zstd
+version: git
+summary: Zstandard - Fast real-time compression algorithm
+description: |
+  Zstandard, or zstd as short version, is a fast lossless compression
+  algorithm, targeting real-time compression scenarios at zlib-level and better
+  compression ratios. It's backed by a very fast entropy stage, provided by
+  Huff0 and FSE library
+
+grade: devel # must be 'stable' to release into candidate/stable channels
+confinement: devmode # use 'strict' once you have the right plugs and slots
+
+apps:
+  zstd:
+    command: usr/local/bin/zstd
+    plugs: [home, removable-media]
+  zstdgrep:
+    command: usr/local/bin/zstdgrep
+    plugs: [home, removable-media]
+  zstdless:
+    command: usr/local/bin/zstdless
+    plugs: [home, removable-media]
+
+parts:
+  zstd:
+    source: .
+    plugin: make
+    build-packages: [g++]