diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-09 11:26:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-09 11:26:06 +0100 |
commit | 989a44a555cd9d052c5fffdce7eace449a8f5ac5 (patch) | |
tree | 52e9a637e8a7c659ceee7356fad98582d77651e4 /packages/sys-kernel/dkms/dkms-2.3.exheres-0 | |
parent | 467afc617524158d5b350448444d37bd002db0e7 (diff) |
sys-kernel/dkms : new exheres
Diffstat (limited to 'packages/sys-kernel/dkms/dkms-2.3.exheres-0')
-rw-r--r-- | packages/sys-kernel/dkms/dkms-2.3.exheres-0 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/packages/sys-kernel/dkms/dkms-2.3.exheres-0 b/packages/sys-kernel/dkms/dkms-2.3.exheres-0 new file mode 100644 index 0000000..ce29354 --- /dev/null +++ b/packages/sys-kernel/dkms/dkms-2.3.exheres-0 @@ -0,0 +1,51 @@ +# Copyright 2018 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +require github [ user=dell tag="v${PV}" ] +require openrc-service + +SUMMARY="Dynamically rebuild kernel modules" +DESCRIPTION=" +DKMS includes utilities to dynamically rebuild kernel modules when the kernel is updated. It also +allows developers to build DKMS-enabled tarballs, rpms and debs that will be rebuilt on kernel +update. +" +HOMEPAGE="http://linux.dell.com/dkms/" + +LICENCES="GPL-2" +SLOT="0" +PLATFORMS="~amd64" +MYOPTIONS="" + +DEPENDENCIES=" + run: + app-shells/bash + suggestion: + app-arch/dpkg [[ + description = [ Build DKMS-enabled debs ] + ]] + app-arch/rpm [[ + description = [ Build DKMS-enabled rpms ] + ]] +" + +DEFAULT_SRC_PREPARE_PATCHES=( + "${FILES}"/"${PNV}"-dont-touch-configs.patch + "${FILES}"/"${PNV}"-gentoo-functions.patch + "${FILES}"/"${PNV}"-systemd-service-fix.patch + "${FILES}"/"${PNV}"-redcore-makefile.patch +) + +DEFAULT_SRC_INSTALL_PARAMS=( + SBIN="${IMAGE}/usr/$(exhost --target)/bin" + LIBDIR="${IMAGE}/usr/$(exhost --target)/lib/dkms" +) + +src_compile() { + : +} + +src_install() { + default + install_openrc_files +} |