diff options
author | Lukc <lukc@upyum.com> | 2011-01-16 14:58:22 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2011-01-16 14:58:22 +0100 |
commit | c83bc5a370317a5f5d06bbad542c542a9cbc20a4 (patch) | |
tree | c16d01deb4b514f97fec056fd091ebba97a4de9c /vanilla-sources/Pkgfile | |
parent | bcd560f573aa07b52b3cd8c29e8614eb7560d3e2 (diff) | |
download | base-c83bc5a370317a5f5d06bbad542c542a9cbc20a4.tar.gz base-c83bc5a370317a5f5d06bbad542c542a9cbc20a4.tar.bz2 base-c83bc5a370317a5f5d06bbad542c542a9cbc20a4.tar.xz base-c83bc5a370317a5f5d06bbad542c542a9cbc20a4.zip |
Recette de vanilla-sources (Linux) mise à jour. \o/
* Hum… faudra renommer, non ?
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 ]] +} + |