void-packages/srcpkgs/virtualbox-ose/virtualbox-ose-dkms.template

23 lines
700 B
Text
Raw Normal View History

# Template file for 'virtualbox-ose-dkms'.
#
short_desc="${short_desc} - kernel module sources for dkms"
long_desc="${long_desc}
This package provides the source code for the virtualbox kernel module to be
build with dkms. The virtualbox-ose package is also required in order to make
use of these modules. Kernel sources or headers are required to compile this
module."
2011-01-19 19:51:38 +00:00
dkms_modules="virtualbox-ose ${_vbox_distver}"
noarch=yes
do_install()
{
install -d ${DESTDIR}/lib/udev/rules.d
install -d ${DESTDIR}/usr/src
mv ${SRCPKGDESTDIR}/usr/src/virtualbox-ose-${version} \
${DESTDIR}/usr/src
mv ${SRCPKGDESTDIR}/lib/udev/rules.d/60-virtualbox-ose-dkms.rules \
${DESTDIR}/lib/udev/rules.d
}