void-packages/srcpkgs/dkms/template

34 lines
1,005 B
Text
Raw Normal View History

2010-12-23 13:28:35 +00:00
# Template file for 'dkms'
pkgname=dkms
2011-07-09 18:09:12 +00:00
version=2.2.0.0
homepage="http://linux.dell.com/dkms"
distfiles="${homepage}/permalink/dkms-$version.tar.gz"
2010-12-23 13:28:35 +00:00
build_style=custom-install
short_desc="Dynamic Kernel Modules System"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-07-09 18:09:12 +00:00
license="GPL-2"
checksum=119b5aeaa4db0495116f14409367fc8f92d1147a25a75d72d59be471f366f7d6
2010-12-23 13:28:35 +00: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-07-09 18:09:12 +00:00
Add_dependency run bash
Add_dependency run module-init-tools
Add_dependency run gcc
Add_dependency run make
Add_dependency run coreutils
Add_dependency run kernel-headers
2010-12-23 13:28:35 +00:00
do_install()
{
# We are only interested in the bare minimum.
2011-07-09 18:09:12 +00:00
vinstall dkms 755 usr/sbin
vinstall dkms.8 644 usr/share/man/man8
vinstall dkms_dbversion 644 var/lib/dkms
vinstall dkms.bash-completion etc/bash_completion.d dkms
vinstall dkms_framework.conf 644 etc/dkms
2010-12-23 13:28:35 +00:00
}