c222660538
wouldn't mind seeing other people continue to maintain these packages. Resetting to pkgsrc-users@NetBSD.org
33 lines
956 B
Makefile
33 lines
956 B
Makefile
# $NetBSD: Makefile,v 1.7 2012/11/25 23:32:09 othyro Exp $
|
|
#
|
|
|
|
DISTNAME= bss-0.6
|
|
PKGREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.secuobs.com/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.secuobs.com/
|
|
COMMENT= Bluetooth Stack Smasher
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${LDFLAGS} -lbluetooth \
|
|
${WRKSRC:Q}/bss.c -o ${WRKSRC:Q}/bss
|
|
${CC} ${CFLAGS} ${LDFLAGS} -lbluetooth \
|
|
${WRKSRC:Q}/replay_packet/replay_l2cap_packet.c \
|
|
-o ${WRKSRC:Q}/replay_packet/replay_l2cap_packet
|
|
|
|
|
|
DOC_FILES=${WRKSRC}/doc/* ${WRKSRC}/README
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC:Q}/bss ${DESTDIR:Q}${PREFIX:Q}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC:Q}/replay_packet/replay_l2cap_packet \
|
|
${DESTDIR:Q}${PREFIX:Q}/bin/
|
|
${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/share/doc/bss/
|
|
${INSTALL_DATA} ${DOC_FILES} ${DESTDIR:Q}${PREFIX:Q}/share/doc/bss/
|
|
|
|
.include "../../wip/bluez-libs/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|