void-packages/srcpkgs/tp_smapi-dkms/template

24 lines
756 B
Text

# Template file for 'tp_smapi-dkms'
pkgname=tp_smapi-dkms
version=0.41
revision=1
wrksrc=tp_smapi-master
only_for_archs="i686 x86_64"
short_desc="IBM ThinkPad hardware functions driver"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.thinkwiki.org/wiki/Tp_smapi"
distfiles="https://github.com/x539/tp_smapi/archive/master.tar.gz"
checksum=7e4519e4f3acb42d84f9cca1cbb070b4c69ef150277fb6511d2124f4033380ba
triggers="dkms"
dkms_modules="tp_smapi ${version}"
depends="dkms"
do_install() {
vmkdir usr/src/tp_smapi-${version}
vcopy "*.c" usr/src/tp_smapi-${version}
vcopy "*.h" usr/src/tp_smapi-${version}
vcopy Makefile usr/src/tp_smapi-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/tp_smapi-${version}
}