23 lines
751 B
Bash
23 lines
751 B
Bash
# Template file for 'tp_smapi-dkms'
|
|
pkgname=tp_smapi-dkms
|
|
version=0.44
|
|
revision=1
|
|
archs="i686* x86_64*"
|
|
short_desc="IBM ThinkPad hardware functions driver"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2.0-or-later"
|
|
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=cccff96e8994bfc9dfe2bec071c4dfb6baf060f988bc338bbab95e639fd4c126
|
|
|
|
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}
|
|
}
|