add dev-util/xcaddy
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
e690819395
commit
0530d6357f
2 changed files with 33 additions and 0 deletions
1
dev-util/xcaddy/Manifest
Normal file
1
dev-util/xcaddy/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
EBUILD xcaddy-9999.ebuild 597 BLAKE2B a84f194987b6a436e6bccad4e814adfd5f686aab249916f3a6c60d5b211b3f42d5884f89e01bcf5a208ef6ad01b3bf3ad03acf0ec05c433233e03531a3dbb53d SHA512 b8471b1a5f6e64b9a4311130169dbdbcb43a34fb2db2eb1114c36487aab417dfe9b2c5b90fe67b40999f65195ef7894b1db0d1b60e626f34990822ff1b3ea4ff
|
32
dev-util/xcaddy/xcaddy-9999.ebuild
Normal file
32
dev-util/xcaddy/xcaddy-9999.ebuild
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit git-r3 go-module
|
||||
|
||||
DESCRIPTION="Deliver Go binaries as fast and easily as possible"
|
||||
HOMEPAGE="https://github.com/caddyserver/xcaddy"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/caddyserver/xcaddy.git"
|
||||
|
||||
RESTRICT="network-sandbox strip"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ego build -ldflags "-s -w" ./cmd/xcaddy
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ./${PN}
|
||||
dodoc README.md
|
||||
}
|
Loading…
Reference in a new issue