generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
12
package/libscrypt/Config.in
Normal file
12
package/libscrypt/Config.in
Normal file
@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_LIBSCRYPT
|
||||
bool "libscrypt"
|
||||
# Unconditionally builds a shared library
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
This is a library that implements the secure password
|
||||
hashing function "scrypt".
|
||||
|
||||
http://www.lolware.net/libscrypt.html
|
||||
|
||||
comment "libscrypt needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
3
package/libscrypt/libscrypt.hash
Normal file
3
package/libscrypt/libscrypt.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 a2d30ea16e6d288772791de68be56153965fe4fd4bcd787777618b8048708936 libscrypt-1.22.tar.gz
|
||||
sha256 aacbfd9e19e5b38ea09616cebf0751ef0cc7b6a19ea0fd78f4b0598b2c503394 LICENSE
|
||||
33
package/libscrypt/libscrypt.mk
Normal file
33
package/libscrypt/libscrypt.mk
Normal file
@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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 = \
|
||||
CC=$(TARGET_CC) \
|
||||
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))
|
||||
Reference in New Issue
Block a user