Add dev-embedded/teensy-hid-listen (PJRC's HID listener).
authorW. Trevor King <wking@tremily.us>
Thu, 26 Jul 2012 17:53:46 +0000 (13:53 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 26 Jul 2012 17:53:46 +0000 (13:53 -0400)
dev-embedded/teensy-hid-listen/ChangeLog [new file with mode: 0644]
dev-embedded/teensy-hid-listen/Manifest [new file with mode: 0644]
dev-embedded/teensy-hid-listen/metadata.xml [new file with mode: 0644]
dev-embedded/teensy-hid-listen/teensy-hid-listen-1.01.ebuild [new file with mode: 0644]

diff --git a/dev-embedded/teensy-hid-listen/ChangeLog b/dev-embedded/teensy-hid-listen/ChangeLog
new file mode 100644 (file)
index 0000000..61d2338
--- /dev/null
@@ -0,0 +1,12 @@
+# ChangeLog for dev-embedded/teensy-hid-listen
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*teensy-hid-listen-1.01 (26 Jul 2012)
+  26 Jul 2012; W. Trevor King <wking@drexel.edu> teensy-hid-listen-1.01.ebuild:
+  - Added initial ChangeLog which should be updated whenever the
+  package is updated in any way. This changelog is targetted to
+  users. This means that the comments should well explained and
+  written in clean English. The details about writing correct
+  changelogs are explained in the skel.ChangeLog file which you can
+  find in the root directory of the portage repository.
diff --git a/dev-embedded/teensy-hid-listen/Manifest b/dev-embedded/teensy-hid-listen/Manifest
new file mode 100644 (file)
index 0000000..2899a05
--- /dev/null
@@ -0,0 +1,4 @@
+DIST hid_listen_1.01.zip 73460 RMD160 259855d1e9679e37f632009a4c9be01a7c3c74d6 SHA1 04ee317fd4d0cb88483f5b63016dca87a9e96019 SHA256 9cc73e325dc9265c032c295d93e16aad63e01214f69ee788b0b80cbc16d3b076
+EBUILD teensy-hid-listen-1.01.ebuild 647 RMD160 85790cbdbd2d65d1dd86ba5753ece353b1f90937 SHA1 21d7d8ebbcf2d3b629ef4dea7f209e8b33fc3761 SHA256 ca81a8ac080aaf5e24494308bec255c37ac03a537ebd52985003e66155a14ef2
+MISC ChangeLog 628 RMD160 42f3d1e569a30c8d88d422cce0c0e09e55f98173 SHA1 9384235339d1b9372ca74c266ed9e8e3b772aa02 SHA256 3aeb4e0cceea437a6dfd70d2f58ce64ab25c3890c9cd6c6f48c747d638a49b66
+MISC metadata.xml 247 RMD160 f6a3debfa8f70e039ec74fe92be0de687c8cec20 SHA1 30c46f34b3a777a6ff4f46dd4590b94677594948 SHA256 30b3270d8e655f6c190d3148f49b9364795beb41991502630e6631886ef107ea
diff --git a/dev-embedded/teensy-hid-listen/metadata.xml b/dev-embedded/teensy-hid-listen/metadata.xml
new file mode 100644 (file)
index 0000000..7b35910
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@tremily.us</email>
+               <name>W. Trevor King</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-embedded/teensy-hid-listen/teensy-hid-listen-1.01.ebuild b/dev-embedded/teensy-hid-listen/teensy-hid-listen-1.01.ebuild
new file mode 100644 (file)
index 0000000..34d5be0
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit eutils
+
+MY_PN="${PN//-/_}"
+MY_PN="${MY_PN/teensy_}"
+DESCRIPTION="Command line HID-raw listener for Teensy microcontrollers"
+HOMEPAGE="http://pjrc.com/teensy/${MY_PN}.html"
+SRC_URI="http://pjrc.com/teensy/${MY_PN}_${PV}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-libs/libusb"
+RDEPEND="$DEPEND"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_compile() {
+       emake OS=LINUX "CFLAGS=${CFLAGS}" "LDFLAGS=${LDFLAGS}" STRIP=echo
+}
+
+src_install() {
+       cp hid_listen teensy_hid_listen
+       dobin teensy_hid_listen
+}