blob: 9de7e0f1954b4b7669df1c4800720f0ea9a56e7c (
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
|
# $NetBSD: Makefile,v 1.4 2013/12/10 14:01:49 jperkin Exp $
#
DISTNAME= modcap.c
PKGNAME= modcap-0.0.5
PKGREVISION= 1
CATEGORIES= net security
MASTER_SITES= http://www.emcy.it/Linux/files/
EXTRACT_SUFX= # empty
MAINTAINER= agc@NetBSD.org
COMMENT= Command line utility to modify pcap capture files
LICENSE= gnu-gpl-v2
AUTO_MKDIRS= yes
WRKSRC= ${WRKDIR}
LDFLAGS.SunOS+= -lsocket -lnsl
do-build:
cd ${WRKSRC} && ${CC} -I${PREFIX}/include modcap.c -lm -lpcap ${LDFLAGS} -o modcap
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/modcap ${DESTDIR}${PREFIX}/bin/
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|