1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 MY_PN="${MY_PN/teensy_}"
11 DESCRIPTION="Command line HID-raw listener for Teensy microcontrollers"
12 HOMEPAGE="http://pjrc.com/teensy/${MY_PN}.html"
13 SRC_URI="http://pjrc.com/teensy/${MY_PN}_${PV}.zip"
20 DEPEND="dev-libs/libusb"
23 S="${WORKDIR}/${MY_PN}"
26 emake OS=LINUX "CFLAGS=${CFLAGS}" "LDFLAGS=${LDFLAGS}" STRIP=echo
30 cp hid_listen teensy_hid_listen
31 dobin teensy_hid_listen