diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/edac-utils/edac-utils-0.18.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/edac-utils/edac-utils-0.18.ebuild')
-rw-r--r-- | sys-apps/edac-utils/edac-utils-0.18.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/edac-utils/edac-utils-0.18.ebuild b/sys-apps/edac-utils/edac-utils-0.18.ebuild new file mode 100644 index 000000000000..5bf6da23f318 --- /dev/null +++ b/sys-apps/edac-utils/edac-utils-0.18.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Userspace helper for Linux kernel EDAC drivers" +HOMEPAGE="https://github.com/grondo/edac-utils" +SRC_URI="https://github.com/grondo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="debug" + +DEPEND="sys-fs/sysfsutils" +RDEPEND="${DEPEND} + sys-apps/dmidecode" + +src_configure() { + econf \ + --disable-static \ + $(use_enable debug) +} + +src_install() { + default + + # We don't need this init.d file + # Modules should be loaded by adding them to /etc/conf.d/modules + # The rest is done via the udev-rule + rm -rf "${D}/etc/init.d" + + prune_libtool_files +} + +pkg_postinst() { + elog "There must be an entry for your mainboard in /etc/edac/labels.db" + elog "in case you want nice labels in /sys/module/*_edac/" + elog "Run the following command to check whether such an entry is already available:" + elog " edac-ctl --print-labels" +} |