diff options
author | Ghiunhan Mamut (aka V3n3RiX) <venerix@rogentos.ro> | 2016-10-26 15:49:42 +0000 |
---|---|---|
committer | Ghiunhan Mamut (aka V3n3RiX) <venerix@rogentos.ro> | 2016-10-26 15:49:42 +0000 |
commit | 05c0c98b21b71501d39eb7dc02e3d01ce3c7f146 (patch) | |
tree | 3e4808c3416ac98cab83a0c85d5c50a99888002f /sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.41.ebuild | |
parent | 6f59c25a6454b4604edaaa604bdaf344f08f5111 (diff) | |
parent | c7d3e18ec40d8a4ec7f0bd52c9c93e6b6df99527 (diff) |
Merge branch 'master' into 'master'
Added safe and sound tp_smapi-dkms into Kogaion-Desktop
See merge request !18
Diffstat (limited to 'sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.41.ebuild')
-rw-r--r-- | sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.41.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.41.ebuild b/sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.41.ebuild new file mode 100644 index 00000000..079aaab6 --- /dev/null +++ b/sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.41.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +MY_PN="tp_smapi" +MY_P="${MY_PN}-${PVR}" +DESCRIPTION="IBM ThinkPad SMAPI BIOS driver" +HOMEPAGE="https://github.com/evgeni/tp_smapi/ http://tpctl.sourceforge.net/" +SRC_URI="mirror://github/evgeni/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="sys-kernel/dkms" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + + +src_prepare(){ + : +} + +src_compile(){ + : +} + +src_install() { + cp "${FILESDIR}/dkms.conf" "${S}" || die + dodir /usr/src/${P} + insinto /usr/src/${P} + doins -r "${S}"/* +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} |