diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/go-usb | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/go-usb')
-rw-r--r-- | dev-libs/go-usb/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/go-usb/go-usb-9999.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/go-usb/metadata.xml | 11 |
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/go-usb/Manifest b/dev-libs/go-usb/Manifest new file mode 100644 index 000000000000..1258e5fd2ced --- /dev/null +++ b/dev-libs/go-usb/Manifest @@ -0,0 +1,2 @@ +EBUILD go-usb-9999.ebuild 612 BLAKE2B 4beb09a14c163bdaa7ca8930de5f88a375006b1d04650fe3241d40bcaa4c0422441634977dc60d0ec4d0a2456d92344732a878e0f974cc5b1334ac62dc7f36fc SHA512 9c2ded5561d14480f22953141a0612cfded41ca887f96ad4bb36575ca9a8cc6467c66a95afa0ae076fa1aaafac49b45b9e7ac5ff53aa697cafab0ec8495494ed +MISC metadata.xml 332 BLAKE2B 5015b049d96897d2a7969096f0ed50a6606139d982a16ab849d0a908576f4c5bd2f2c17b7fd1c26f5ba4161a9140e9126c531974d57c2cf899e44736253ff4df SHA512 72d224af53ac4c93a252eae5a518d76abf05052e9a268ee007cc7e03f96ec5e673b6c7e83e4de15ea9f6e1a2222f7fe687fd10834b45edb7e638d75f61bb9cb9 diff --git a/dev-libs/go-usb/go-usb-9999.ebuild b/dev-libs/go-usb/go-usb-9999.ebuild new file mode 100644 index 000000000000..e634c7ea3b82 --- /dev/null +++ b/dev-libs/go-usb/go-usb-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit git-r3 multilib + +DESCRIPTION="CGO bindings for libusb" +HOMEPAGE="https://github.com/hanwen/usb" +EGIT_REPO_URI="https://github.com/hanwen/usb.git" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND=">=dev-lang/go-1.4" +RDEPEND="" + +# Tests require a connected mtp device +RESTRICT="test" + +GO_PN="/usr/lib/go/src/github.com/hanwen/usb" + +src_install() { + insinto "${GO_PN}" + doins *.go LICENSE || die "Install failed" +} + +src_test() { + go test -ldflags '-extldflags=-fno-PIC' ${GO_PN} || die +} diff --git a/dev-libs/go-usb/metadata.xml b/dev-libs/go-usb/metadata.xml new file mode 100644 index 000000000000..ac4b8fcb74df --- /dev/null +++ b/dev-libs/go-usb/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">hanwen/usb</remote-id> + </upstream> +</pkgmetadata> |