24 lines
804 B
Bash
24 lines
804 B
Bash
# Template file for 'tp_smapi-dkms'
|
|
pkgname=tp_smapi-dkms
|
|
version=0.42
|
|
revision=1
|
|
wrksrc=tp_smapi-${version}
|
|
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/evgeni/tp_smapi/releases/download/tp-smapi%2F${version}/tp_smapi-${version}.tgz"
|
|
checksum=7b8d9f488c3859805f1f292bf4d518cc5b32ebb69b0ebe96367d0852dd792d27
|
|
|
|
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}
|
|
}
|