diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/go-usb |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/go-usb')
-rw-r--r-- | dev-libs/go-usb/Manifest | 4 | ||||
-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, 47 insertions, 0 deletions
diff --git a/dev-libs/go-usb/Manifest b/dev-libs/go-usb/Manifest new file mode 100644 index 000000000000..5969dcf89773 --- /dev/null +++ b/dev-libs/go-usb/Manifest @@ -0,0 +1,4 @@ +EBUILD go-usb-9999.ebuild 612 SHA256 df206b480736ea632113aafbad24473354843e29944bdae864145bf8d1208a5e SHA512 9c2ded5561d14480f22953141a0612cfded41ca887f96ad4bb36575ca9a8cc6467c66a95afa0ae076fa1aaafac49b45b9e7ac5ff53aa697cafab0ec8495494ed WHIRLPOOL bb5f84954f021176c9e351620bc0fb16690ca798606429e029d7f33c85448101a3027053ff5da049cc087ce44c29f22a05a34770720697aeb7fda87f9393ee18 +MISC ChangeLog 2171 SHA256 c8c2fc4894567762b1ddf5a1e78e784e7d07bfb9076a519e54e5f0983d9357d2 SHA512 4e4ab077b1bcfbb97147d1dc2da30df4e80ae0dd66ecdadefc15f5582a9f6b80150a8c7efe983c2a75d70c8266f9fc717f4dcf529bfa01751e6f3b8120d5f461 WHIRLPOOL 5de7eb0bc57c6cb4960d1ea6d334e8d11bf33b60058ce402724a7287df020a4dae8d624b94f565ed8c268c719d16fcad7cc338c69caf6603b0fc52a97a808341 +MISC ChangeLog-2015 575 SHA256 822b56074c4244b63140505a5603a1e300ad1f69ff0d2204505b2ec801d83211 SHA512 bbb52fc1d555b887047aaa81803f3b0b2f04f23c92b6a4f9ed476637151ba088cd7b9c0cef09353dbb5eb0f62854c7b13be9181e23a59ec374a6f43ac82a37f7 WHIRLPOOL 026bb78250f22f6a9b5a7ef86d8c64f34f3b725079b8f90018213315b326ab9fb13c4b124ef6d8203b81eedd0190f5d9ce5f5a3ef9e73862d8d0493f3e523952 +MISC metadata.xml 332 SHA256 80030d8b467226c4eedbc39b658bf3b66e5de8edfad602d43bb32e0422f63b75 SHA512 72d224af53ac4c93a252eae5a518d76abf05052e9a268ee007cc7e03f96ec5e673b6c7e83e4de15ea9f6e1a2222f7fe687fd10834b45edb7e638d75f61bb9cb9 WHIRLPOOL 3000104a7f5db59ecd4ba76bfd9fc5a048a13721690e77f65fc153f1fde7da9bdb68be6a937c434eaed974e6dfe5faf282ece330d3e924ae3fbd96b64ec36d30 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> |