From c83bc5a370317a5f5d06bbad542c542a9cbc20a4 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 16 Jan 2011 14:58:22 +0100 Subject: Recette de vanilla-sources (Linux) mise à jour. \o/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Hum… faudra renommer, non ? --- vanilla-sources/.md5sum | 1 + vanilla-sources/.sha256sum | 1 + vanilla-sources/Pkgfile | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 vanilla-sources/.md5sum create mode 100644 vanilla-sources/.sha256sum create mode 100644 vanilla-sources/Pkgfile diff --git a/vanilla-sources/.md5sum b/vanilla-sources/.md5sum new file mode 100644 index 0000000..864fa70 --- /dev/null +++ b/vanilla-sources/.md5sum @@ -0,0 +1 @@ +c8ee37b4fdccdb651e0603d35350b434 linux-2.6.37.tar.bz2 diff --git a/vanilla-sources/.sha256sum b/vanilla-sources/.sha256sum new file mode 100644 index 0000000..ec31615 --- /dev/null +++ b/vanilla-sources/.sha256sum @@ -0,0 +1 @@ +edbf091805414739cf57a3bbfeba9e87f5e74f97e38f04d12060e9e0c71e383a linux-2.6.37.tar.bz2 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 " +maintainer="Lukc " + +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 ]] +} + -- cgit v1.2.3-54-g00ecf