2010-02-18 19:44:47 +01:00
|
|
|
# Template file for 'kernel-snapshot-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."
|
|
|
|
|
2010-12-23 00:45:23 +01:00
|
|
|
if [ -n "${_kernel_headers_revision}" ]; then
|
|
|
|
revision=${_kernel_headers_revision}
|
|
|
|
fi
|
|
|
|
|
2010-11-22 22:53:35 +01:00
|
|
|
nostrip=yes
|
|
|
|
noverifyrdeps=yes
|
|
|
|
|
2010-02-18 19:44:47 +01:00
|
|
|
do_install()
|
|
|
|
{
|
2011-06-21 09:32:58 +02:00
|
|
|
mkdir -p ${DESTDIR}/lib/modules/${_kernver}
|
2010-03-13 09:36:02 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr ${DESTDIR}
|
2011-06-21 09:32:58 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/lib/modules/${_kernver}/build \
|
|
|
|
${DESTDIR}/lib/modules/${_kernver}
|
2010-02-18 19:44:47 +01:00
|
|
|
}
|