Edit

IABSD.fr/ports/sysutils/xxhash/Makefile

Branch :

  • Show log

    Commit

  • Author : kn
    Date : 2023-08-24 15:12:08
    Hash : 9b2616cb
    Message : Use pledge(2) in xxhsum(1) It is like cksum(1), except xxhsum never creates or writes to files. 'no objection' bket Feedback OK sthen

  • sysutils/xxhash/Makefile
  • COMMENT =	extremely fast non-cryptographic hash algorithm
    
    # bump rsync on updates; used as a header-only library there
    GH_ACCOUNT =	Cyan4973
    GH_PROJECT =	xxHash
    GH_TAGNAME =	v0.8.2
    REVISION =	1
    PKGNAME =	${DISTNAME:L}
    
    SHARED_LIBS =	xxhash 0.3	# 0.8.1
    
    CATEGORIES =	sysutils
    
    HOMEPAGE =	https://xxhash.com
    
    MAINTAINER =	Bjorn Ketelaars <bket@openbsd.org>
    
    # BSD 2-Clause
    PERMIT_PACKAGE =	Yes
    
    # uses pledge()
    WANTLIB =	c
    
    MAKE_FLAGS =	CC="${CC}" \
    		SONAME_FLAGS= \
    		SHARED_EXT_VER="so.${LIBxxhash_VERSION}" \
    		V=1
    FAKE_FLAGS =	PREFIX=${PREFIX}
    
    USE_GMAKE =	Yes
    
    DEBUG_PACKAGES =	${BUILD_PACKAGES}
    
    ALL_TARGET =	default
    TEST_TARGET =	check
    
    .include <bsd.port.mk>