mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
zstd: update to 1.5.6.
Adopt.
This commit is contained in:
parent
718cffd2b1
commit
b9d287ca18
2 changed files with 16 additions and 5 deletions
11
srcpkgs/zstd/patches/ldflags.patch
Normal file
11
srcpkgs/zstd/patches/ldflags.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/programs/Makefile
|
||||||
|
+++ b/programs/Makefile
|
||||||
|
@@ -158,7 +158,7 @@
|
||||||
|
@echo "$(LZMA_MSG)"
|
||||||
|
@echo "$(LZ4_MSG)"
|
||||||
|
@echo LINK $@
|
||||||
|
- $(CC) $(FLAGS) $^ $(LDLIBS) -o $@$(EXT)
|
||||||
|
+ $(CC) $(FLAGS) $^ $(LDLIBS) -o $@$(EXT) $(LDFLAGS)
|
||||||
|
|
||||||
|
ifeq ($(HAVE_HASH),1)
|
||||||
|
SRCBIN_HASH = $(shell cat $(BUILD_DIR)/zstd$(EXT) 2> $(VOID) | $(HASH) | cut -f 1 -d " ")
|
|
@ -1,21 +1,21 @@
|
||||||
# Template file for 'zstd'
|
# Template file for 'zstd'
|
||||||
pkgname=zstd
|
pkgname=zstd
|
||||||
version=1.5.5
|
version=1.5.6
|
||||||
revision=2
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
makedepends="zlib-devel liblzma-devel liblz4-devel"
|
makedepends="zlib-devel liblzma-devel liblz4-devel"
|
||||||
checkdepends="gtest-devel tar"
|
checkdepends="gtest-devel tar"
|
||||||
short_desc="Fast real-time compression algorithm - CLI tool"
|
short_desc="Fast real-time compression algorithm - CLI tool"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="BSD-3-Clause, GPL-2.0-or-later"
|
license="BSD-3-Clause, GPL-2.0-or-later"
|
||||||
homepage="https://facebook.github.io/zstd/"
|
homepage="https://facebook.github.io/zstd/"
|
||||||
changelog="https://raw.githubusercontent.com/facebook/zstd/dev/CHANGELOG"
|
changelog="https://raw.githubusercontent.com/facebook/zstd/dev/CHANGELOG"
|
||||||
distfiles="https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz"
|
distfiles="https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz"
|
||||||
checksum=9c4396cc829cfae319a6e2615202e82aad41372073482fce286fac78646d3ee4
|
checksum=8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} PREFIX=/usr lib-mt
|
make ${makejobs} PREFIX=/usr lib-mt
|
||||||
make ${makejobs} PREFIX=/usr -C programs zstd-dll
|
make ${makejobs} PREFIX=/usr -C programs zstd-dll LIB_BINDIR=../lib
|
||||||
make ${makejobs} PREFIX=/usr -C contrib/pzstd
|
make ${makejobs} PREFIX=/usr -C contrib/pzstd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue