kumquat-buildroot/package/libscrypt/libscrypt.mk
Fabrice Fontaine 4542c6714d package/libscrypt: bump to version 1.22
- Drop patch and use {C,LD}FLAGS_EXTRA which are available since
  bdfec26744
- While at it, also move PREFIX to LIBSCRYPT_MAKE_OPTS as advocated by
  Arnout in
  https://patchwork.ozlabs.org/project/buildroot/patch/20220221172900.1937856-1-fontaine.fabrice@gmail.com/
- Update indentation in hash file (two spaces)

https://github.com/technion/libscrypt/compare/v1.21...v1.22

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-03-15 22:10:00 +01:00

34 lines
915 B
Makefile

################################################################################
#
# libscrypt
#
################################################################################
LIBSCRYPT_VERSION = 1.22
LIBSCRYPT_SITE = $(call github,technion,libscrypt,v$(LIBSCRYPT_VERSION))
LIBSCRYPT_LICENSE = BSD-2-Clause
LIBSCRYPT_LICENSE_FILES = LICENSE
LIBSCRYPT_INSTALL_STAGING = YES
LIBSCRYPT_MAKE_OPTS = \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS_EXTRA="$(TARGET_CFLAGS)" \
LDFLAGS_EXTRA="$(TARGET_LDFLAGS)" \
PREFIX=/usr
define LIBSCRYPT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSCRYPT_MAKE_OPTS)
endef
define LIBSCRYPT_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSCRYPT_MAKE_OPTS) \
DESTDIR=$(STAGING_DIR) install
endef
define LIBSCRYPT_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSCRYPT_MAKE_OPTS) \
DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))