commit: 852cb709421ab123f603705dbae01464e353c688
parent 13099aa81cd7b1352ace8c2d2345616add28751f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 8 Jun 2021 06:35:12 +0200
sys-apps/lanodan-utils: License, test deps, metadata.xml
Diffstat:
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/sys-apps/lanodan-utils/lanodan-utils-9999.ebuild b/sys-apps/lanodan-utils/lanodan-utils-9999.ebuild
@@ -9,9 +9,16 @@ DESCRIPTION="Collection of Unix tools, comparable to coreutils"
HOMEPAGE="https://hacktivis.me/git/utils"
EGIT_REPO_URI="https://hacktivis.me/git/utils.git"
EGIT_MIN_CLONE_TYPE="single+tags"
-LICENSE="CC-BY-SA-4.0"
+LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
-IUSE="suspend"
+IUSE="suspend test"
+RESTRICT="!test? ( test )"
+BDEPEND="
+ test? (
+ dev-libs/atf
+ dev-util/kyua
+ )
+"
src_install() {
emake install DESTDIR="${D}" PREFIX=/opt/lanodan BINDIR=/opt/lanodan/bin MANDIR=/opt/lanodan/man
diff --git a/sys-apps/lanodan-utils/metadata.xml b/sys-apps/lanodan-utils/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>contact@hacktivis.me</email>
+ <name>Haelwenn (lanodan) Monnier</name>
+ </maintainer>
+ <use>
+ <flag name="suspend">Enable the "memsys" program for suspending the machine</flag>
+ </use>
+</pkgmetadata>