diff options
-rw-r--r-- | vanilla-sources/.md5sum | 1 | ||||
-rw-r--r-- | vanilla-sources/.sha256sum | 1 | ||||
-rw-r--r-- | vanilla-sources/Pkgfile | 37 |
3 files changed, 39 insertions, 0 deletions
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 <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 ]] +} + |