2010-12-23 14:28:35 +01:00
|
|
|
# Template file for 'dkms'
|
|
|
|
pkgname=dkms
|
2011-12-10 09:29:14 +01:00
|
|
|
version=2.2.0.3
|
2011-07-09 20:09:12 +02:00
|
|
|
homepage="http://linux.dell.com/dkms"
|
|
|
|
distfiles="${homepage}/permalink/dkms-$version.tar.gz"
|
2012-05-23 18:26:56 +02:00
|
|
|
depends="bash module-init-tools gcc make coreutils kernel-headers"
|
2012-11-20 00:05:07 +01:00
|
|
|
revision=3
|
2010-12-23 14:28:35 +01:00
|
|
|
short_desc="Dynamic Kernel Modules System"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-09 20:09:12 +02:00
|
|
|
license="GPL-2"
|
2011-12-10 09:29:14 +01:00
|
|
|
checksum=352a080351410e29ae8cda7a794ba1e607b87ca913d0410d56209f08875378fc
|
2010-12-23 14:28:35 +01:00
|
|
|
long_desc="
|
|
|
|
dkms is a framework which allows kernel modules to be dynamically built for
|
|
|
|
each kernel on your system in a simplified and organized fashion."
|
|
|
|
|
|
|
|
conf_files="/etc/dkms/framework.conf"
|
|
|
|
noarch=yes
|
2011-12-10 09:29:14 +01:00
|
|
|
|
2010-12-23 14:28:35 +01:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
# We are only interested in the bare minimum.
|
2011-07-09 20:09:12 +02:00
|
|
|
vinstall dkms 755 usr/sbin
|
|
|
|
vinstall dkms.8 644 usr/share/man/man8
|
|
|
|
vinstall dkms_dbversion 644 var/lib/dkms
|
2011-07-10 23:57:07 +02:00
|
|
|
vinstall dkms.bash-completion 644 etc/bash_completion.d dkms
|
2011-07-09 20:11:44 +02:00
|
|
|
vinstall dkms_framework.conf 644 etc/dkms framework.conf
|
2011-07-10 10:58:30 +02:00
|
|
|
# Kernel hooks.
|
|
|
|
vinstall ${FILESDIR}/kernel.d/dkms.postinst 750 \
|
|
|
|
etc/kernel.d/post-install 20-dkms
|
|
|
|
vinstall ${FILESDIR}/kernel.d/dkms.prerm 750 \
|
|
|
|
etc/kernel.d/pre-remove 20-dkms
|
2010-12-23 14:28:35 +01:00
|
|
|
}
|