Commit 3e63f263 authored by Natanael Copa's avatar Natanael Copa
Browse files

new aport: core/linux-sources, the vanilla kernel sources

parent 6978762b
pkgname=linux-sources
pkgver=2.6.27.4
_kernver=2.6.27
pkgrel=1
pkgdesc="The vanilla Linux kernel sources"
makedepends=patch
arch=i486
license=GPL-2
url=http://kernel.org
source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
"
build() {
cd $srcdir/linux-$_kernver
if [ "$_kernver" != "$pkgver" ]; then
bunzip2 -c < ../patch-$pkgver.bz2 | patch -p1 || return 1
fi
mkdir -p "$pkgdir/usr/src"
cd "$srcdir"
mv "linux-$_kernver" "$pkgdir/usr/src/linux-$pkgver"
}
md5sums="b3e78977aa79d3754cb7f8143d7ddabd linux-2.6.27.tar.bz2
fa7cb6cf1ee5e796e89905806ffc6f01 patch-2.6.27.4.bz2"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment