kumquat-buildroot/package/libscrypt/libscrypt.mk
Jerzy Grzegorek c961a9b522 package/libscrypt: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-03-19 14:09:13 +01:00

28 lines
751 B
Makefile

################################################################################
#
# libscrypt
#
################################################################################
LIBSCRYPT_VERSION = v1.21
LIBSCRYPT_SITE = $(call github,technion,libscrypt,$(LIBSCRYPT_VERSION))
LIBSCRYPT_LICENSE = BSD-2c
LIBSCRYPT_LICENSE_FILES = LICENSE
LIBSCRYPT_INSTALL_STAGING = YES
define LIBSCRYPT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef
define LIBSCRYPT_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr \
DESTDIR=$(STAGING_DIR) install
endef
define LIBSCRYPT_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr \
DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))