New package: tp_smapi-dkms-0.41
This commit is contained in:
parent
e406344715
commit
7c3dc773bb
2 changed files with 39 additions and 0 deletions
15
srcpkgs/tp_smapi-dkms/files/dkms.conf
Normal file
15
srcpkgs/tp_smapi-dkms/files/dkms.conf
Normal file
|
@ -0,0 +1,15 @@
|
|||
PACKAGE_VERSION=0.41
|
||||
PACKAGE_NAME="tp_smapi-dkms"
|
||||
AUTOINSTALL="yes"
|
||||
|
||||
MAKE="make KVER=${kernelver} HDAPS=1"
|
||||
CLEAN="make clean"
|
||||
|
||||
BUILT_MODULE_NAME[0]="hdaps"
|
||||
DEST_MODULE_LOCATION[0]="/updates"
|
||||
|
||||
BUILT_MODULE_NAME[1]="thinkpad_ec"
|
||||
DEST_MODULE_LOCATION[1]="/extra"
|
||||
|
||||
BUILT_MODULE_NAME[2]="tp_smapi"
|
||||
DEST_MODULE_LOCATION[2]="/extra"
|
24
srcpkgs/tp_smapi-dkms/template
Normal file
24
srcpkgs/tp_smapi-dkms/template
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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}
|
||||
}
|
Loading…
Reference in a new issue