af2cd694e3
- Switch site to get latest release - Drop all patches (already in version) - Update hash of COPYING-LGPL, empty lines removed withcceb1b2d80
- Pass $(TARGET_CONFIGURE_OPTS) to install targets to avoid using wrong values sinceabdf4074c3
https://github.com/johnsonjh/duma/blob/VERSION_2_5_21/CHANGELOG Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# duma
|
|
#
|
|
################################################################################
|
|
|
|
DUMA_VERSION = 2.5.21
|
|
DUMA_SITE = $(call github,johnsonjh,duma,VERSION_$(subst .,_,$(DUMA_VERSION)))
|
|
DUMA_LICENSE = GPL-2.0+, LGPL-2.1+
|
|
DUMA_LICENSE_FILES = COPYING-GPL COPYING-LGPL
|
|
|
|
DUMA_INSTALL_STAGING = YES
|
|
|
|
DUMA_OPTIONS = \
|
|
$(if $(BR2_PACKAGE_DUMA_NO_LEAKDETECTION),-DDUMA_LIB_NO_LEAKDETECTION)
|
|
|
|
# The dependency of some source files in duma_config.h, which is generated at
|
|
# build time, is not specified in the Makefile. Force non-parallel build.
|
|
define DUMA_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
|
|
OS=linux \
|
|
DUMA_OPTIONS="$(DUMA_OPTIONS)" \
|
|
CPPFLAGS="$(TARGET_CXXFLAGS) -std=c++11" -C $(@D)
|
|
endef
|
|
|
|
define DUMA_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
OS=linux prefix=$(STAGING_DIR)/usr install -C $(@D)
|
|
endef
|
|
|
|
define DUMA_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
OS=linux prefix=$(TARGET_DIR)/usr install -C $(@D)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|