2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-10-07 09:04:26 +02:00
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# pv
|
2011-10-07 09:04:26 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-10-07 09:04:26 +02:00
|
|
|
|
2013-10-06 18:30:32 +02:00
|
|
|
PV_VERSION = 1.4.12
|
2011-10-07 09:04:26 +02:00
|
|
|
PV_SOURCE = pv-$(PV_VERSION).tar.bz2
|
2013-06-26 21:50:28 +02:00
|
|
|
PV_SITE = http://www.ivarch.com/programs/sources
|
2013-06-27 11:29:06 +02:00
|
|
|
PV_LICENSE = Artistic-2.0
|
|
|
|
PV_LICENSE_FILES = doc/COPYING
|
2014-02-20 23:11:55 +01:00
|
|
|
|
|
|
|
# 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)
|
2013-10-06 18:30:33 +02:00
|
|
|
|
|
|
|
# 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_OPT = \
|
2013-11-15 21:28:56 +01:00
|
|
|
LD="$(TARGET_CC)" \
|
2013-10-06 18:30:33 +02:00
|
|
|
LDFLAGS="-Wl,-r -nostdlib"
|
2011-10-07 09:04:26 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|