pkgname=linux-smp pkgver=2.6.28.4 pkgrel=0 pkgdesc="Linux kernel with smp" url="http://www.kernel.org/" _kernver=2.6.28 arch=i486 makedepends="linux-sources perl" source="kernelconfig" subpackages="$pkgname-mod" license=GPL-2 build() { mkdir -p "$srcdir/$pkgname" cd "$srcdir/$pkgname" cp ../kernelconfig .config make -C /usr/src/linux-$pkgver "O=$PWD" silentoldconfig make || return 1 mkdir -p $pkgdir/boot $pkgdir/lib/modules make modules_install install \ INSTALL_MOD_PATH=$pkgdir \ INSTALL_PATH=$pkgdir/boot } md5sums="d555fb11fb5507dbfa50617370bc375a kernelconfig"