From 494293a6e42fc845a2bfbe8cae7dc0aeec2f9edc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 9 Sep 2018 12:23:27 +0100 Subject: sys-kernel/dkms : fix exheres --- packages/sys-kernel/dkms/dkms-2.3.exheres-0 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'packages/sys-kernel/dkms/dkms-2.3.exheres-0') diff --git a/packages/sys-kernel/dkms/dkms-2.3.exheres-0 b/packages/sys-kernel/dkms/dkms-2.3.exheres-0 index ce29354..e835a4f 100644 --- a/packages/sys-kernel/dkms/dkms-2.3.exheres-0 +++ b/packages/sys-kernel/dkms/dkms-2.3.exheres-0 @@ -1,6 +1,7 @@ # Copyright 2018 Redcore Linux Project # Distributed under the terms of the GNU General Public License v2 +require bash-completion require github [ user=dell tag="v${PV}" ] require openrc-service @@ -37,8 +38,10 @@ DEFAULT_SRC_PREPARE_PATCHES=( ) DEFAULT_SRC_INSTALL_PARAMS=( - SBIN="${IMAGE}/usr/$(exhost --target)/bin" - LIBDIR="${IMAGE}/usr/$(exhost --target)/lib/dkms" + SBIN=/usr/$(exhost --target)/bin + LIBDIR=/usr/$(exhost --target)/lib/dkms + SYSTEMD_UNITDIR=/usr/$(exhost --target)/lib/systemd/system + BASHDIR=${BASHCOMPLETIONDIR} ) src_compile() { @@ -46,6 +49,9 @@ src_compile() { } src_install() { - default + emake \ + ${DEFAULT_SRC_INSTALL_PARAMS[@]} \ + DESTDIR="${IMAGE}" install + install_openrc_files } -- cgit v1.2.3