summaryrefslogtreecommitdiffstats
path: root/vanilla-sources/Pkgfile
blob: e53408cca3940bca4d1fa064ef8d63e66b010877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
description="Vanilla sources of the Linux kernel."
longdesc="Linux is a clone of the operating system Unix, written from 
scratch by Linus Torvalds with assistance from a loosely-knit team of 
hackers across the Net. It aims towards POSIX and Single UNIX 
Specification compliance.

It has all the features you would expect in a modern fully-fledged Unix, 
including true multitasking, virtual memory, shared libraries, demand 
loading, shared copy-on-write executables, proper memory management, 
and multistack networking including IPv4 and IPv6."
# XXX: Euh… et en français ? O:) (pas tapay, Blanko)
url="http://kernel.org"
packager="Lukc <lukc AT upyum DOT com>"
maintainer="Lukc <lukc AT upyum DOT com>"

name=vanilla-sources
version=2.6.37
release=1
source=( 
	http://www.kernel.org/pub/linux/kernel/v${version%.*}/linux-$version.tar.bz2
)
lastver="wcat 2>/dev/null $url/kdist/finger_banner | grep stable | head -n 1 | sed -e 's/.*://;s/ //g'"
license=GPLv2

archs=(no-arch)

build () {
	mkdir -p $PKG$prefix/src
	info "Copying kernel source files."
	mv linux-$version $PKG$prefix/src/linux-$version
}

check () {
	# Quoi d’autre ? :3
	[[ -d $PKG$prefix/src/linux-$version ]]
}