summaryrefslogtreecommitdiff
path: root/misc/sd-mux-ctrl/Makefile
blob: e6844dcc15717aa4f0f92b4a55a843ae9d2085a0 (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
# $NetBSD: Makefile,v 1.2 2020/08/18 05:29:46 tnn Exp $

DISTNAME=	sd-mux-9dd189d973da64e033a0c5c2adb3d94b23153d94
PKGNAME=	sd-mux-ctrl-0.0.20200217
CATEGORIES=	misc
MASTER_SITES=	https://git.tizen.org/cgit/tools/testlab/sd-mux/snapshot/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	jmcneill@invisible.ca
HOMEPAGE=	https://wiki.tizen.org/SD_MUX
COMMENT=	Control software for sd-mux devices
LICENSE=	apache-2.0

USE_CMAKE=	yes
USE_LANGUAGES=	c c++
USE_TOOLS+=	pkg-config

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

post-install:
	${INSTALL_DATA} ${WRKSRC}/doc/man/sd-mux-ctrl.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../devel/libftdi1/buildlink3.mk"
BUILDLINK_API_DEPENDS.libftdi1+=	libftdi1>=1.4
.include "../../devel/popt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"