summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2003-04-03 20:07:00 +0000
committerGuy Martin <gmsoft@gentoo.org>2003-04-03 20:07:00 +0000
commit95a86ab88ba72e4b51d6667d3856c2cd7eee3435 (patch)
tree1dddb8633798de2c4309b4d589f458710b8e4341 /sys-kernel/hppa-headers
parentVersion bumped. (diff)
downloadgentoo-2-95a86ab88ba72e4b51d6667d3856c2cd7eee3435.tar.gz
gentoo-2-95a86ab88ba72e4b51d6667d3856c2cd7eee3435.tar.bz2
gentoo-2-95a86ab88ba72e4b51d6667d3856c2cd7eee3435.zip
Initial import. This ebuild replace the "hppa only" linux-headers-2.4.20.
Diffstat (limited to 'sys-kernel/hppa-headers')
-rw-r--r--sys-kernel/hppa-headers/ChangeLog9
-rw-r--r--sys-kernel/hppa-headers/files/digest-hppa-headers-2.4.20_p322
-rw-r--r--sys-kernel/hppa-headers/hppa-headers-2.4.20_p32.ebuild52
3 files changed, 63 insertions, 0 deletions
diff --git a/sys-kernel/hppa-headers/ChangeLog b/sys-kernel/hppa-headers/ChangeLog
new file mode 100644
index 000000000000..416015c36de7
--- /dev/null
+++ b/sys-kernel/hppa-headers/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-apps/palo
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-headers/ChangeLog,v 1.1 2003/04/03 20:07:00 gmsoft Exp $
+
+*hppa-headers-2.4.20_p32 (03 Apr 2003)
+
+ 03 Apr 2003; Guy Martin <gmsoft@gentoo.org> hppa-headers-2.4.20_p32.ebuild :
+ Initial import. This ebuild replace the "hppa only" linux-headers-2.4.20.
+
diff --git a/sys-kernel/hppa-headers/files/digest-hppa-headers-2.4.20_p32 b/sys-kernel/hppa-headers/files/digest-hppa-headers-2.4.20_p32
new file mode 100644
index 000000000000..c0558305ffac
--- /dev/null
+++ b/sys-kernel/hppa-headers/files/digest-hppa-headers-2.4.20_p32
@@ -0,0 +1,2 @@
+MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046
+MD5 46cebc79872c94a084fd3095b262954b patch-2.4.20-pa32.diff.gz 758056
diff --git a/sys-kernel/hppa-headers/hppa-headers-2.4.20_p32.ebuild b/sys-kernel/hppa-headers/hppa-headers-2.4.20_p32.ebuild
new file mode 100644
index 000000000000..515896be1413
--- /dev/null
+++ b/sys-kernel/hppa-headers/hppa-headers-2.4.20_p32.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-headers/hppa-headers-2.4.20_p32.ebuild,v 1.1 2003/04/03 20:07:00 gmsoft Exp $
+#OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+IUSE=""
+DEPEND=""
+
+ETYPE="headers"
+inherit kernel eutils
+
+# What's in this kernel?
+# INCLUDED:
+# stock 2.4.20 kernel sources
+# hppa patches
+
+DESCRIPTION="Full sources for the Linux kernel pathed for hppa"
+HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org/"
+KEYWORDS="hppa -*"
+
+# set the kernel version now
+OKV=2.4.20
+PATCH_LEVEL=${PV/${OKV}_p/}
+EXTRAVERSION="pa${PATCH_LEVEL}"
+KV="${OKV}-${EXTRAVERSION}"
+S=${WORKDIR}/linux-${KV}
+SLOT="0"
+
+# testing kernel patch
+EXTRA_KERNEL_PATCH="patch-${KV}"
+
+
+SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 \
+ http://ftp.parisc-linux.org/cvs/patch-${KV}.diff.gz"
+
+
+src_unpack() {
+ # base vanilla source
+ unpack "linux-${OKV}.tar.bz2" || die
+ [ "${OKV}" != "${KV}" ] && \
+ mv "${WORKDIR}/linux-${OKV}" "${WORKDIR}/linux-${KV}"
+
+ # do the actual patching
+ cd ${S} || die
+ einfo "Applying patches for hppa ..."
+ unpack patch-${KV}.diff.gz
+ patch -p 1 < ${S}/patch-${KV}.diff
+ einfo "... Done"
+
+ kernel_universal_unpack
+}
+