pkgsrc/devel/tlsh/Makefile
wiz 9bd141ddea Import tlsh-3.4.3 as devel/tlsh.
TLSH is a fuzzy matching library. Given a byte stream with a minimum
length of 256 bytes (and a minimum amount of randomness - see note
in Python extension below), TLSH generates a hash value which can
be used for similarity comparisons.  Similar objects will have
similar hash values which allows for the detection of similar
objects by comparing their hash values.  Note that the byte stream
should have a sufficient amount of complexity.  For example, a byte
stream of identical bytes will not generate a hash value.
2015-12-02 17:22:18 +00:00

21 lines
535 B
Makefile

# $NetBSD: Makefile,v 1.1 2015/12/02 17:22:18 wiz Exp $
USE_CMAKE= yes
CONFIGURE_DIRS= build/release
CMAKE_ARG_PATH= ../..
USE_LANGUAGES= c c++
# all tests fail
#TEST_TARGET= test
INSTALLATION_DIRS= bin include lib
post-extract:
mkdir ${WRKSRC}/build/release
do-install:
${INSTALL_DATA} ${WRKSRC}/bin/tlsh_unittest ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/lib/libtlsh* ${DESTDIR}${PREFIX}/lib
.include "Makefile.common"
.include "../../mk/bsd.pkg.mk"