2014-07-16 16:52:53 +00:00
|
|
|
# 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"
|
2014-10-31 19:32:40 +00:00
|
|
|
update_pattern='tp-smapi/\K[\d.]+'
|
2014-07-16 16:52:53 +00:00
|
|
|
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}
|
|
|
|
}
|