summaryrefslogtreecommitdiff
path: root/app-admin/aerie/aerie-9999.ebuild
diff options
context:
space:
mode:
authorBaldEagleOS Migration <dev@baldeagleos.com>2026-06-01 02:55:10 -0500
committerBaldEagleOS Migration <dev@baldeagleos.com>2026-06-01 03:01:25 -0500
commit47adfcf719a5b9b5efee9045c75232db6601f882 (patch)
tree8dc6a9d35dc9b731dd1908b6e1d34dba2499663a /app-admin/aerie/aerie-9999.ebuild
parentdb744a859cc7edb3779272f74dd914ea4e1cd97c (diff)
downloadbaldeagleos-repo-47adfcf719a5b9b5efee9045c75232db6601f882.tar.gz
baldeagleos-repo-47adfcf719a5b9b5efee9045c75232db6601f882.tar.xz
baldeagleos-repo-47adfcf719a5b9b5efee9045c75232db6601f882.zip
Add app-admin/aerie
Diffstat (limited to 'app-admin/aerie/aerie-9999.ebuild')
-rw-r--r--app-admin/aerie/aerie-9999.ebuild52
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
+}