From 79912fc93ea4d7b42382d31804ecc2829a1b47a9 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Sun, 13 Sep 2020 10:39:43 +1000 Subject: [PATCH] zstd-32: initial import --- zstd-32/.32bit | 0 zstd-32/.footprint | 8 ++++++++ zstd-32/.signature | 5 +++++ zstd-32/Pkgfile | 18 ++++++++++++++++++ 4 files changed, 31 insertions(+) create mode 100644 zstd-32/.32bit create mode 100644 zstd-32/.footprint create mode 100644 zstd-32/.signature create mode 100644 zstd-32/Pkgfile diff --git a/zstd-32/.32bit b/zstd-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/zstd-32/.footprint b/zstd-32/.footprint new file mode 100644 index 00000000..94e90fe0 --- /dev/null +++ b/zstd-32/.footprint @@ -0,0 +1,8 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libzstd.a +lrwxrwxrwx root/root usr/lib32/libzstd.so -> libzstd.so.1.4.5 +lrwxrwxrwx root/root usr/lib32/libzstd.so.1 -> libzstd.so.1.4.5 +-rwxr-xr-x root/root usr/lib32/libzstd.so.1.4.5 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/libzstd.pc diff --git a/zstd-32/.signature b/zstd-32/.signature new file mode 100644 index 00000000..037668c1 --- /dev/null +++ b/zstd-32/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/compat-32.pub +RWSwxGo/zH7eXVsDXTDicFQpNhymbgWZ/LtjwwIbqhXJIUSNCP2t/iDiDUN0mPKfxtmIyZOwoYxsJBwWQ1/ihdy9aed5xHqR4QU= +SHA256 (Pkgfile) = a5e825cbddf5f7e420eb54546f7bf2940e544b74c3340179b02586a883e015af +SHA256 (.footprint) = 8c29ceaac5ca1ce3dda3f145526c2c73ab8b5e7f7d2b538c20c1ec422076e0f5 +SHA256 (zstd-v1.4.5.tar.gz) = 734d1f565c42f691f8420c8d06783ad818060fc390dee43ae0a89f86d0a4f8c2 diff --git a/zstd-32/Pkgfile b/zstd-32/Pkgfile new file mode 100644 index 00000000..df254db0 --- /dev/null +++ b/zstd-32/Pkgfile @@ -0,0 +1,18 @@ +# Description: Real-time compression with high compression ratios. +# URL: https://www.zstd.net/ +# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu +# Depends on: zlib-32 xz-32 zstd + +name=zstd-32 +version=1.4.5 +release=1 +source=(https://github.com/facebook/zstd/archive/v$version/zstd-v$version.tar.gz) + +build() { + cd zstd-$version + + make HAVE_THREAD=1 + PREFIX=/usr LIBDIR=/usr/lib32 PKGCONFIGDIR=/usr/lib32/pkgconfig make DESTDIR=$PKG install + + rm -r $PKG/usr/{share,include,bin} +}