kumquat-buildroot/package/makedumpfile/makedumpfile.mk
Fabrice Fontaine 29c0b4e6db package/makedumpfile: bump to version 1.7.2
Use official tarball

https://github.com/makedumpfile/makedumpfile/releases/tag/1.7.2
https://github.com/makedumpfile/makedumpfile/releases/tag/1.7.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-10-30 11:53:59 +01:00

50 lines
1.2 KiB
Makefile

################################################################################
#
# makedumpfile
#
################################################################################
MAKEDUMPFILE_VERSION = 1.7.2
MAKEDUMPFILE_SITE = https://github.com/makedumpfile/makedumpfile/releases/download/$(MAKEDUMPFILE_VERSION)
MAKEDUMPFILE_DEPENDENCIES = bzip2 elfutils xz zlib
MAKEDUMPFILE_LICENSE = GPL-2.0
MAKEDUMPFILE_LICENSE_FILES = COPYING
ifeq ($(BR2_powerpc),y)
MAKEDUMPFILE_TARGET = powerpc32
else
MAKEDUMPFILE_TARGET = $(BR2_ARCH)
endif
MAKEDUMPFILE_MAKE_OPTS = \
CROSS= \
TARGET=$(MAKEDUMPFILE_TARGET) \
LINKTYPE=dynamic
ifeq ($(BR2_PACKAGE_LZO),y)
MAKEDUMPFILE_DEPENDENCIES += lzo
MAKEDUMPFILE_MAKE_OPTS += USELZO=on
endif
ifeq ($(BR2_PACKAGE_SNAPPY),y)
MAKEDUMPFILE_DEPENDENCIES += snappy
MAKEDUMPFILE_MAKE_OPTS += USESNAPPY=on
endif
ifeq ($(BR2_PACKAGE_ZSTD),y)
MAKEDUMPFILE_DEPENDENCIES += zstd
MAKEDUMPFILE_MAKE_OPTS += USEZSTD=on
endif
define MAKEDUMPFILE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
$(MAKEDUMPFILE_MAKE_OPTS)
endef
define MAKEDUMPFILE_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install \
DESTDIR="$(TARGET_DIR)"
endef
$(eval $(generic-package))