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