diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2003-03-24 20:54:27 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2003-03-24 20:54:27 +0000 |
commit | 04df19fb4099a1ccf4eeee58cbce73e536c32f1f (patch) | |
tree | bf35dbc68599df2fe2bdab587c9cfc96a26c2437 /sys-kernel/wolk-sources | |
parent | fixed broken url since it's no more available on official site. (diff) | |
download | gentoo-2-04df19fb4099a1ccf4eeee58cbce73e536c32f1f.tar.gz gentoo-2-04df19fb4099a1ccf4eeee58cbce73e536c32f1f.tar.bz2 gentoo-2-04df19fb4099a1ccf4eeee58cbce73e536c32f1f.zip |
new wolk
Diffstat (limited to 'sys-kernel/wolk-sources')
-rw-r--r-- | sys-kernel/wolk-sources/files/digest-wolk-sources-4.0_rc4 | 2 | ||||
-rw-r--r-- | sys-kernel/wolk-sources/wolk-sources-4.0_rc4.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-kernel/wolk-sources/files/digest-wolk-sources-4.0_rc4 b/sys-kernel/wolk-sources/files/digest-wolk-sources-4.0_rc4 new file mode 100644 index 000000000000..e9376cfbad1c --- /dev/null +++ b/sys-kernel/wolk-sources/files/digest-wolk-sources-4.0_rc4 @@ -0,0 +1,2 @@ +MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046 +MD5 7777482cc2d9b8d871bdcfcdaaddd694 linux-2.4.20-wolk4.0s-rc4.patch.bz2 7502991 diff --git a/sys-kernel/wolk-sources/wolk-sources-4.0_rc4.ebuild b/sys-kernel/wolk-sources/wolk-sources-4.0_rc4.ebuild new file mode 100644 index 000000000000..d8d86182d0e2 --- /dev/null +++ b/sys-kernel/wolk-sources/wolk-sources-4.0_rc4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/wolk-sources/wolk-sources-4.0_rc4.ebuild,v 1.1 2003/03/24 20:54:27 drobbins Exp $ + +IUSE="build" + +# OKV=original kernel version, KV=patched kernel version. They can be the same. + +ETYPE="sources" + +inherit kernel || die + +OKV=2.4.20 +EXTRAVERSION=-wolk4.0s-rc4 +KV=${OKV}${EXTRAVERSION} +S=${WORKDIR}/linux-${KV} +DESCRIPTION="Working Overloaded Linux Kernel" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 + mirror://sourceforge/wolk/linux-${KV}.patch.bz2" +KEYWORDS="~x86" +SLOT="${KV}" +HOMEPAGE="http://wolk.sourceforge.net http://www.kernel.org" + +src_unpack() { + unpack linux-${OKV}.tar.bz2 + mv linux-${OKV} linux-${KV} || die + cd ${WORKDIR}/linux-${KV} + bzcat ${DISTDIR}/linux-${OKV}${EXTRAVERSION}.patch.bz2 | patch -p1 || die +} +src_install() { + dodir /usr/src + echo ">>> Copying sources..." + dodoc ${FILESDIR}/patches.txt + mv ${WORKDIR}/linux* ${D}/usr/src +} + +pkg_postinst() { + einfo + einfo "If you use NVIDIA modules, you will need to use the supplied" + einfo "rmap patch in /usr/src/linux-2.4.20-wolk4.0s-pre10/userspace-patches" + einfo "against your nvidia kernel driver source" + einfo "cd NVIDIA_kernel-1.0-XXXX " + einfo "patch -p1 </usr/src/linux-2.4.20-wolk4.0s-pre10/userspace-patches/" + einfo "NVIDIA_kernel-1.0-4191-2.4-rmap15b.patch" + einfo "This patch works fine with NVIDIA_kernel-1.0-3123 also" + einfo +} + |