pkgsrc/sysutils/netbt-hcidump/Makefile
plunky ae76f8b7ae update to hcidump 2.0
some of our patches are merged with upstream, and I removed the INET6
option since IPv6 specific code seems to be removed

ChangeLog from the package:

	Add support for decoding AMP events.
	Add support for decoding AMP commands.
	Add support for decoding LE advertising reports.
	Add support for L2CAP fixed channel information.
	Add support for L2CAP ERTM and Streaming Mode.
	Make BT-Snoop format the default file format.
	Make verbose parsing the default option.
2011-01-30 20:41:29 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2011/01/30 20:41:29 plunky Exp $
DISTNAME= netbt-hcidump-2.0
CATEGORIES= sysutils
MASTER_SITES= http://www.kernel.org/pub/linux/bluetooth/
DISTFILES= bluez-hcidump-2.0.tar.gz \
bluez-4.87.tar.gz
MAINTAINER= plunky@rya-online.net
HOMEPAGE= http://www.bluez.org/
COMMENT= Bluetooth packet analyzer (netbt version)
LICENSE= gnu-gpl-v2
ONLY_FOR_PLATFORM= NetBSD-[4-9].*-*
CONFLICTS+= hcidump-[0-9]* bluez-hcidump-[0-9]*
INSTALLATION_DIRS= sbin ${PKGMANDIR}/cat8 ${PKGMANDIR}/man8
WRKSRC= ${WRKDIR}/bluez-hcidump-2.0
LIBSRC= ${WRKDIR}/bluez-4.87
PKG_DESTDIR_SUPPORT= user-destdir
CPPFLAGS+= -DVERSION=\""2.0-netbt"\"
USE_BSD_MAKEFILE= yes
post-extract:
mkdir ${WRKSRC}/bluetooth
cp ${LIBSRC}/lib/bluetooth.h ${WRKSRC}/bluetooth
cp ${LIBSRC}/lib/hci.h ${WRKSRC}/bluetooth
cp ${LIBSRC}/lib/hci_lib.h ${WRKSRC}/bluetooth
cp ${LIBSRC}/lib/l2cap.h ${WRKSRC}/bluetooth
cp ${LIBSRC}/lib/bluetooth.c ${WRKSRC}/src/bt_lib.c
cp ${LIBSRC}/lib/hci.c ${WRKSRC}/src/hci_lib.c
.include "../../mk/bsd.pkg.mk"