blob: dd41d1331c38ecb2fd8c83565bb01067d316a169 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="HTTPD for CGit"
HOMEPAGE="https://git.terinstock.com/cgit-httpd.git/about/"
BDEPEND=">=dev-lang/go-1.18"
SRC_URI="https://git.terinstock.com/cgit-httpd.git/snapshot/${P}.tar.xz"
SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz"
LICENSE="MPL-2.0"
LICENSE+=" BSD"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
ego build .
}
src_test() {
ego test ./...
}
src_install() {
dobin cgit-httpd
}
|