kumquat-buildroot/package/pv/pv.mk
Peter Korsgaard 3f263bb444 pv: bump version
!LFS compilation needs a trivial patch which has been sent upstream.
Also add .hash file.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-28 21:23:33 +01:00

31 lines
1.2 KiB
Makefile

################################################################################
#
# pv
#
################################################################################
PV_VERSION = 1.5.7
PV_SOURCE = pv-$(PV_VERSION).tar.bz2
PV_SITE = http://www.ivarch.com/programs/sources
PV_LICENSE = Artistic-2.0
PV_LICENSE_FILES = doc/COPYING
# pv configure script is somewhat stupid: if it cannot find the host
# gettext tool msgfmt, it concludes that gettext is not available, and
# provides its own minimal version. Unfortunately, this minimal
# version conflicts with the available target gettext. We fix this by
# ensuring that host-gettext is built if gettext support is enabled;
PV_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext host-gettext)
# 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"
$(eval $(autotools-package))