diff options
Diffstat (limited to 'app-admin/aerie/aerie-9999.ebuild')
| -rw-r--r-- | app-admin/aerie/aerie-9999.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-admin/aerie/aerie-9999.ebuild b/app-admin/aerie/aerie-9999.ebuild new file mode 100644 index 000000000000..3656a2352007 --- /dev/null +++ b/app-admin/aerie/aerie-9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 2026 BaldEagleOS Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +EGIT_REPO_URI="https://git.baldeagleos.com/aerie.git" + +inherit git-r3 + +DESCRIPTION="BaldEagleOS profile and repository management tool" +HOMEPAGE="https://git.baldeagleos.com/aerie.git" + +LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="" + +BDEPEND="dev-lang/go" + +DOCS=( Changelog README.md ) +PROG_VERS=${PV} + +program_make() { + local my_tags=( + prod + ) + local my_makeopt=( + TAGS="${my_tags[@]}" + LDFLAGS="-extldflags \"${LDFLAGS}\"" + ) + export MDATE="$(date -u +%Y%m%d.%H%M%S)" + export PROG_VERS="${PROG_VERS}" + emake "${my_makeopt[@]}" "$@" +} + +src_compile() { + program_make build +} + +src_test() { + GO111MODULE=on go test -mod=vendor ./... +} + +src_install() { + dobin "${PN}" + + einstalldocs + + insinto "/etc/${PN}" + doins "etc/${PN}.yml" + doins etc/baldeagleos.conf.example + doins etc/parent.example +} |
