logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 8fce6d7626c3eb9d046c3ea31d390ccff7edca3c
parent 1f4fda89f28e310c35c41482d64670963aeb3f79
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  4 Feb 2022 15:12:25 +0100

sys-apps/lanodan-utils: Use ./configure

Diffstat:

Msys-apps/lanodan-utils/lanodan-utils-9999.ebuild16++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/sys-apps/lanodan-utils/lanodan-utils-9999.ebuild b/sys-apps/lanodan-utils/lanodan-utils-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 2021 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Copyright 2021-2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit git-r3 @@ -20,17 +20,21 @@ BDEPEND=" ) " +src_configure() { + ./configure PREFIX='/opt/lanodan' +} + src_install() { - emake install DESTDIR="${D}" PREFIX=/opt/lanodan BINDIR=/opt/lanodan/bin MANDIR=/opt/lanodan/man + emake install DESTDIR="${D}" if use !suspend; then - rm "${D}/opt/lanodan/bin/memsys" || die "Failed removing memsys" + rm "${D}/opt/lanodan/sbin/memsys" || die "Failed removing memsys" fi # before 50baselayout newenvd - 40lanodan <<-EOF - PATH="/opt/lanodan/bin" - ROOTPATH="/opt/lanodan/bin" + PATH="/opt/lanodan/bin:/opt/lanodan/sbin" + ROOTPATH="/opt/lanodan/bin:/opt/lanodan/sbin" MANPATH="/opt/lanodan/man" EOF }