mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/go-usb: multilib--, style fix
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit git-r3 multilib
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="CGO bindings for libusb"
|
||||
HOMEPAGE="https://github.com/hanwen/usb"
|
||||
@@ -11,22 +11,19 @@ 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_test() {
|
||||
go test -ldflags '-extldflags=-fno-PIC' ${GO_PN} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${GO_PN}"
|
||||
doins *.go LICENSE
|
||||
}
|
||||
|
||||
src_test() {
|
||||
go test -ldflags '-extldflags=-fno-PIC' ${GO_PN} || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user