d2db5a6c5b
Add two patches from upstream to fix a build issue when building an example. Ideally, the examples should not be build at all. However, upstream disliked the idea of adding configure options like `--disable-examples` [1]. So we'll make do with the patches and force a autoreconf. Additionaly, the signature was checked and a hash for the license file is added. [1] https://github.com/hercules-team/augeas/issues/535 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
782 B
Makefile
26 lines
782 B
Makefile
################################################################################
|
|
#
|
|
# augeas
|
|
#
|
|
################################################################################
|
|
|
|
AUGEAS_VERSION = 1.9.0
|
|
AUGEAS_SITE = http://download.augeas.net
|
|
AUGEAS_INSTALL_STAGING = YES
|
|
AUGEAS_LICENSE = LGPL-2.1+
|
|
AUGEAS_LICENSE_FILES = COPYING
|
|
AUGEAS_DEPENDENCIES = host-pkgconf readline libxml2
|
|
|
|
# patching examples/Makefile.am, can be removed when updating from version 1.9.0
|
|
AUGEAS_AUTORECONF = YES
|
|
|
|
AUGEAS_CONF_OPTS = --disable-gnulib-tests
|
|
|
|
# Remove the test lenses which occupy about 1.4 MB on the target
|
|
define AUGEAS_REMOVE_TEST_LENSES
|
|
rm -rf $(TARGET_DIR)/usr/share/augeas/lenses/dist/tests
|
|
endef
|
|
AUGEAS_POST_INSTALL_TARGET_HOOKS += AUGEAS_REMOVE_TEST_LENSES
|
|
|
|
$(eval $(autotools-package))
|