summaryrefslogtreecommitdiff
path: root/core/zstd/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /core/zstd/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'core/zstd/MAKEPKG')
-rw-r--r--core/zstd/MAKEPKG38
1 files changed, 38 insertions, 0 deletions
diff --git a/core/zstd/MAKEPKG b/core/zstd/MAKEPKG
new file mode 100644
index 0000000..54d9326
--- /dev/null
+++ b/core/zstd/MAKEPKG
@@ -0,0 +1,38 @@
+#!/bin/mkpkg
+# description: Zstandard compression
+# url: https://github.com/facebook/zstd
+
+name=zstd
+version=1.5.7
+release=1
+source=(https://github.com/facebook/zstd/releases/download/v$version/$name-$version.tar.gz)
+depends=(xz zlib)
+lockbox=(yes)
+sha256sums=(
+ "eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3"
+)
+
+build() {
+ cd $name-$version
+
+ make -C lib lib-mt
+ make -C programs zstd-dll LIB_BINDIR=../lib
+
+ make install DESTDIR=$PKG PREFIX=/ \
+ BINDIR=/bin \
+ INCLUDEDIR=/include \
+ LIBDIR=/lib \
+ PKGCONFIGDIR=/lib/pkgconfig \
+ MAN1DIR=/usr/share/man/man1
+
+ rm -f $PKG/lib/*.a
+ rm -f $PKG/bin/zstdgrep $PKG/bin/zstdless
+ rm -f $PKG/usr/share/man/man1/zstdgrep.1* $PKG/usr/share/man/man1/zstdless.1*
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh