dev-go/golog - 0.3.0 (sk-overlay)

Search

Package Information

Description:
Go library for logging
Homepage:
https://c.darenet.org/tyil/golog
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.3.0 6 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

EGO_PN="c.darenet.org/tyil/golog"
EGIT_COMMIT="9354b2cb8c15c62062781e1ab37ce7842c59b2cb"

DESCRIPTION="Go library for logging"
HOMEPAGE="https://c.darenet.org/tyil/golog"
SRC_URI="https://${EGO_PN}/repository/archive.tar.gz?ref=v${PV} -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="
	dev-go/colorize
	dev-lang/go
"
RDEPEND="${DEPEND}"

src_unpack() {
	unpack ${A}
	mv "${WORKDIR}/${PN}-v${PV}-${EGIT_COMMIT}" "${WORKDIR}/${P}"
}

src_compile() {
	:;
}

src_install() {
	LIBDIR="${D}/usr/lib/go/src/${EGO_PN}"
	mkdir -p "${LIBDIR}"

	cp "${WORKDIR}/${P}"/* "${LIBDIR}" || die "Failed installing library"
}

Dependencies

DEPEND

	dev-go/colorize
	dev-lang/go

RDEPEND

	dev-go/colorize
	dev-lang/go

Manifest for 0.3.0

Type File Size Source URLs
DIST golog-0.3.0.tar.gz 1480 bytes https://c.darenet.org/tyil/golog/repository/archive.tar.gz?ref=v0.3.0