void-packages/srcpkgs/kernel/kernel-headers.template

23 lines
505 B
Plaintext
Raw Normal View History

# Template file for 'kernel-headers'.
#
short_desc="${pkgname} src headers"
long_desc="
This package contains the required source headers to be able to build
external 3rd party binary modules."
if [ -n "${_kernel_headers_revision}" ]; then
revision=${_kernel_headers_revision}
fi
2010-11-22 22:55:42 +01:00
nostrip=yes
noverifyrdeps=yes
do_install()
{
2011-06-24 19:37:15 +02:00
mkdir -p ${DESTDIR}/lib/modules/${_kernver}
mv ${SRCPKGDESTDIR}/usr ${DESTDIR}
2011-06-24 19:37:15 +02:00
mv ${SRCPKGDESTDIR}/lib/modules/${_kernver}/build \
${DESTDIR}/lib/modules/${_kernver}
}