summaryrefslogtreecommitdiff
path: root/security/libfprint/Makefile
blob: c1f6dd5d46c62ea913dbbedecff4fbed9c9f2c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.62 2021/04/15 11:23:12 ryoon Exp $

DISTNAME=	libfprint-0.7.0
PKGREVISION=	22
CATEGORIES=	security devel
MASTER_SITES=	https://people.freedesktop.org/~anarsoul/
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.freedesktop.org/wiki/Software/fprint/
COMMENT=	Fingerprint reader access library
LICENSE=	gnu-lgpl-v2.1

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
USE_TOOLS+=		pkg-config gmake
USE_LANGUAGES=		c

#CONFIGURE_ARGS+=	--enable-debug-log
CONFIGURE_ARGS+=	--enable-examples-build

INSTALLATION_DIRS+=	lib bin

post-install:
	for pp in enroll img_capture verify verify_live; do \
		${INSTALL_SCRIPT} ${WRKSRC}/examples/$${pp} \
			${DESTDIR}${PREFIX}/bin/ ; \
	done

.include "../../x11/pixman/buildlink3.mk"
.include "../../graphics/ImageMagick6/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libusb1/buildlink3.mk"
.include "../../devel/nss/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"