2017-02-09 14:45:55 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libscrypt
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LIBSCRYPT_VERSION = v1.21
|
|
|
|
LIBSCRYPT_SITE = $(call github,technion,libscrypt,$(LIBSCRYPT_VERSION))
|
2017-03-30 15:43:39 +02:00
|
|
|
LIBSCRYPT_LICENSE = BSD-2-Clause
|
2017-02-09 14:45:55 +01:00
|
|
|
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
|
2017-03-19 10:59:48 +01:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr \
|
2017-02-09 14:45:55 +01:00
|
|
|
DESTDIR=$(STAGING_DIR) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define LIBSCRYPT_INSTALL_TARGET_CMDS
|
2017-03-19 10:59:48 +01:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr \
|
2017-02-09 14:45:55 +01:00
|
|
|
DESTDIR=$(TARGET_DIR) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|