package/pv: bump to version 1.8.5

- Switch to tar.gz tarball as tar.bz2 is not available anymore
- License is GPL-3.0+ since
  e5cc71b4d2
- workarounds can be dropped as standard gnu automake is used since
  e99548ea8a

https://codeberg.org/a-j-wood/pv/src/tag/v1.8.5/docs/NEWS.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2024-01-03 00:04:09 +01:00 committed by Thomas Petazzoni
parent eb74b60549
commit 9e2e85df90
2 changed files with 5 additions and 23 deletions
package/pv

View File

@ -1,5 +1,5 @@
# Locally calculated after checking pgp signature
sha256 e831951eff0718fba9b1ef286128773b9d0e723e1fbfae88d5a3188814fdc603 pv-1.6.20.tar.bz2
sha256 d22948d06be06a5be37336318de540a2215be10ab0163f8cd23a20149647b780 pv-1.8.5.tar.gz
# Hash for license file
sha256 280e182171df3e9bb4a9b407326e88521151fcb8f4f8557255f26177d5900ccf doc/COPYING
sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 docs/COPYING

View File

@ -4,28 +4,10 @@
#
################################################################################
PV_VERSION = 1.6.20
PV_SOURCE = pv-$(PV_VERSION).tar.bz2
PV_VERSION = 1.8.5
PV_SITE = http://www.ivarch.com/programs/sources
PV_LICENSE = Artistic-2.0
PV_LICENSE_FILES = doc/COPYING
PV_LICENSE = GPL-3.0+
PV_LICENSE_FILES = docs/COPYING
PV_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
# --relax linker option is enabled by default on sparc/sparc64
# architectures, and it can't be used together with -r option, so
# disable it.
ifeq ($(BR2_sparc)$(BR2_sparc64),y)
PV_LDFLAGS = "-Wl,--no-relax"
endif
# While 'pv' uses autoconf, it does not use automake for its
# makefiles. It uses $(LD) $(LDFLAGS) to achieve partial linking, but
# using 'ld' directly doesn't work well with some toolchain
# configuration, as the ld default emulation may not necessarily be
# the correct one. By passing the below values for LD and LDFLAGS, we
# ensure that 'gcc' is used to do these partial linking steps.
PV_MAKE_OPTS = \
LD="$(TARGET_CC)" \
LDFLAGS="-Wl,-r -nostdlib $(PV_LDFLAGS)"
$(eval $(autotools-package))