A practical incremental and one-pass, pure API to the SHA-256 cryptographic hash algorithm according to FIPS 180-4 with performance close to the fastest implementations available in other languages.
13 lines
505 B
Makefile
13 lines
505 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2020/01/18 15:25:43 pho Exp $
|
|
|
|
BUILDLINK_TREE+= hs-cryptohash-sha256
|
|
|
|
.if !defined(HS_CRYPTOHASH_SHA256_BUILDLINK3_MK)
|
|
HS_CRYPTOHASH_SHA256_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.hs-cryptohash-sha256+= hs-cryptohash-sha256>=0.11.101
|
|
BUILDLINK_ABI_DEPENDS.hs-cryptohash-sha256+= hs-cryptohash-sha256>=0.11.101.0
|
|
BUILDLINK_PKGSRCDIR.hs-cryptohash-sha256?= ../../security/hs-cryptohash-sha256
|
|
.endif # HS_CRYPTOHASH_SHA256_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -hs-cryptohash-sha256
|