diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2003-09-19 05:47:36 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2003-09-19 05:47:36 +0000 |
commit | 24a1b26979a0088f6cabb11d7661f80947b7e4f4 (patch) | |
tree | e051877266066f44a1cdf12b51fc9a30f531e8f2 /sys-kernel/planet-ccrma-sources | |
parent | planet ccrma custom kernel sources (diff) | |
download | gentoo-2-24a1b26979a0088f6cabb11d7661f80947b7e4f4.tar.gz gentoo-2-24a1b26979a0088f6cabb11d7661f80947b7e4f4.tar.bz2 gentoo-2-24a1b26979a0088f6cabb11d7661f80947b7e4f4.zip |
planet ccrma custom kernel sources
Diffstat (limited to 'sys-kernel/planet-ccrma-sources')
5 files changed, 79 insertions, 1 deletions
diff --git a/sys-kernel/planet-ccrma-sources/ChangeLog b/sys-kernel/planet-ccrma-sources/ChangeLog new file mode 100644 index 000000000000..46d265241a74 --- /dev/null +++ b/sys-kernel/planet-ccrma-sources/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for sys-kernel/planet-ccrma-sources +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/planet-ccrma-sources/ChangeLog,v 1.1 2003/09/19 05:47:34 nerdboy Exp $ + + 18 Sep 2003; <sarnold@gentoo.org> : + new Planet CCRMA kernel sources + diff --git a/sys-kernel/planet-ccrma-sources/Manifest b/sys-kernel/planet-ccrma-sources/Manifest index b2940e0ad842..b54d9bf2156f 100644 --- a/sys-kernel/planet-ccrma-sources/Manifest +++ b/sys-kernel/planet-ccrma-sources/Manifest @@ -1,2 +1,4 @@ -MD5 05727654c9341f9cccf5a60edb14b218 planet-ccrma-sources-2.4.21.ebuild 2196 +MD5 7524aa74b8061f6cb8e38e75d73ed04a planet-ccrma-sources-2.4.21.ebuild 2326 +MD5 fb311162d56a954e09b111a7d8d0340e metadata.xml 473 +MD5 5b1522b2032344304a74ed6c0b9085b5 ChangeLog 318 MD5 b36ca9356f27877f0bd427dcef7f118e files/digest-planet-ccrma-sources-2.4.21 86 diff --git a/sys-kernel/planet-ccrma-sources/files/digest-planet-ccrma-sources-2.4.21 b/sys-kernel/planet-ccrma-sources/files/digest-planet-ccrma-sources-2.4.21 new file mode 100644 index 000000000000..52628051ee87 --- /dev/null +++ b/sys-kernel/planet-ccrma-sources/files/digest-planet-ccrma-sources-2.4.21 @@ -0,0 +1 @@ +MD5 267966e5d8668543270f6882c8c39d94 kernel-source-2.4.21-1.ll.acpi.i386.rpm 27496483 diff --git a/sys-kernel/planet-ccrma-sources/metadata.xml b/sys-kernel/planet-ccrma-sources/metadata.xml new file mode 100644 index 000000000000..681fda5f2922 --- /dev/null +++ b/sys-kernel/planet-ccrma-sources/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>x86-kernel</herd> +<maintainer> + <email>nerdboy@gentoo.org</email> + <name>Steve Arnold</name> + <description>Primary Maintainer</description> +</maintainer> +<longdescription>Planet CCRMA custom kernel sources based on RedHat, but with low latency and other groovy patches. Used for realtime audio performance.</longdescription> +</pkgmetadata> diff --git a/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21.ebuild b/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21.ebuild new file mode 100644 index 000000000000..d93f66d991ce --- /dev/null +++ b/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21.ebuild,v 1.1 2003/09/19 05:47:34 nerdboy Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +ETYPE="sources" +inherit kernel +OKV=2.4.21 +KV=2.4.21-1.ll.acpi +EXTRAVERSION="-1.ll.acpicustom" +S=${WORKDIR}/linux-${KV} + +# This package contains the Linux Kernel source for the version of the +# Linux Kernel shipped by Red Hat, Inc. as part of their 8.0 distribution. +# +# Do not report problems with this source package or the resulting compiled +# compiled kernel to Red Hat, Inc. Red Hat is not responsible for this +# package and has offered no warranties or promises that the kernels +# resulting from the compilation of this package will work on anything +# except specific versions of the Red Hat distribution and specific +# compiler revisions. +# +# Gentoo provides this package without any guarantees that this kernel +# will compile and run correctly and will only respond to bug reports +# dealing with Gentoo specific packaging problems. + +# The easiest way to grab Red Hat kernel sources is from the rpm file +# itself. We used to generate a patch against vanilla sources trees but +# the added dependency of rpm2targz is minimal compared with having to +# generate a new diff for every minor version update. (Also not to many +# people have 2.4.18 vanilla source tarballs floating around these days) + +DEPEND="${DEPEND} app-arch/rpm2targz" + +DESCRIPTION="Kernel source used in Planet CCRMA custom audio upgrade (based on RedHat)" +SRC_URI="http://ccrma-www.stanford.edu/planetccrma/mirror/redhat/linux/planetcore/9/en/os/i386/kernel-source-${KV}.i386.rpm" +HOMEPAGE="http://ccrma-www.stanford.edu/ http://www.kernel.org/ http://www.redhat.com/" +KEYWORDS="~x86" +SLOT="${KV}" + +src_unpack() { + + cd ${WORKDIR} + # Defining TMPDIR avoids breaking if /tmp is mounted in RAM + # and too small to hold all the temp files. + # Portage probably shouldn't create any files outside of + # /var/tmp/portage just yet anyway. :) + TMPDIR=${T} rpm2targz ${DISTDIR}/kernel-source-${KV}.i386.rpm + tar xvzf kernel-source-${KV}.i386.tar.gz + + mv usr/src/linux-${KV} ${WORKDIR} + + cd ${S} + + kernel_universal_unpack +} + |