diff options
Diffstat (limited to 'vanilla-sources/Pkgfile')
-rw-r--r-- | vanilla-sources/Pkgfile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/vanilla-sources/Pkgfile b/vanilla-sources/Pkgfile new file mode 100644 index 0000000..e53408c --- /dev/null +++ b/vanilla-sources/Pkgfile @@ -0,0 +1,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 ]] +} + |