add replaces for docs and headers

This commit is contained in:
Tobias Powalowski 2011-07-22 15:19:36 +00:00
parent 56ce007c66
commit 12a2dea8f3

View File

@ -109,6 +109,7 @@ package_linux() {
package_linux-headers() { package_linux-headers() {
pkgdesc="Header files and scripts for building modules for linux kernel" pkgdesc="Header files and scripts for building modules for linux kernel"
replaces=('kernel26-headers')
mkdir -p ${pkgdir}/lib/modules/${_kernver} mkdir -p ${pkgdir}/lib/modules/${_kernver}
cd ${pkgdir}/lib/modules/${_kernver} cd ${pkgdir}/lib/modules/${_kernver}
ln -sf ../../../usr/src/linux-${_kernver} build ln -sf ../../../usr/src/linux-${_kernver} build
@ -218,7 +219,7 @@ package_linux-headers() {
package_linux-docs() { package_linux-docs() {
pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel." pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel."
replaces=('kernel26-doccs')
cd ${srcdir}/linux-$_basekernel cd ${srcdir}/linux-$_basekernel
mkdir -p $pkgdir/usr/src/linux-$_kernver mkdir -p $pkgdir/usr/src/linux-$_kernver
mv Documentation $pkgdir/usr/src/linux-$_kernver mv Documentation $pkgdir/usr/src/linux-$_kernver