diff options
| author | Alejandro W. Sior <aho@sior.be> | 2023-02-03 10:05:32 +0100 |
|---|---|---|
| committer | Alejandro W. Sior <aho@sior.be> | 2023-02-03 10:05:32 +0100 |
| commit | 58fa790e2249295b6c4f9cda36d4de40cf8ac9e0 (patch) | |
| tree | 8f8dbdae36a1c418876389bfc1d0956466cd13bb | |
| parent | df453afac07d624dd25c778f6aed84749f0b7857 (diff) | |
zstd: new package at version 1.5.2
| -rw-r--r-- | zstd/build | 12 | ||||
| -rw-r--r-- | zstd/checksums | 1 | ||||
| -rw-r--r-- | zstd/files/01-makefile-install-solaris.patch | 11 | ||||
| -rw-r--r-- | zstd/sources | 2 | ||||
| -rw-r--r-- | zstd/version | 1 |
5 files changed, 27 insertions, 0 deletions
diff --git a/zstd/build b/zstd/build new file mode 100644 index 0000000..8bdd2c9 --- /dev/null +++ b/zstd/build @@ -0,0 +1,12 @@ +#!/bin/sh -e + +for patch in *.patch; do + patch -p1 < $patch +done + +gmake +gmake PREFIX=/usr DESTDIR=$1 install + +# Relocate manual pages +mkdir $1/usr/share +mv $1/usr/man $1/usr/share diff --git a/zstd/checksums b/zstd/checksums new file mode 100644 index 0000000..ca4f37a --- /dev/null +++ b/zstd/checksums @@ -0,0 +1 @@ +072b10f71f5820c24761a65f31f43e73 zstd-1.5.2.tar.gz diff --git a/zstd/files/01-makefile-install-solaris.patch b/zstd/files/01-makefile-install-solaris.patch new file mode 100644 index 0000000..4cd1da7 --- /dev/null +++ b/zstd/files/01-makefile-install-solaris.patch @@ -0,0 +1,11 @@ +--- a/Makefile Thu Jan 20 22:17:18 2022 ++++ b/Makefile Fri Feb 3 08:00:55 2023 +@@ -149,7 +149,7 @@ + #------------------------------------------------------------------------------ + # make install is validated only for Linux, macOS, Hurd and some BSD targets + #------------------------------------------------------------------------------ +-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT Haiku AIX)) ++ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT Haiku AIX SunOS)) + + HOST_OS = POSIX + diff --git a/zstd/sources b/zstd/sources new file mode 100644 index 0000000..965f145 --- /dev/null +++ b/zstd/sources @@ -0,0 +1,2 @@ +https://github.com/facebook/zstd/releases/download/v1.5.2/zstd-1.5.2.tar.gz $ +files/ $ diff --git a/zstd/version b/zstd/version new file mode 100644 index 0000000..4cda8f1 --- /dev/null +++ b/zstd/version @@ -0,0 +1 @@ +1.5.2 |
