diff options
Diffstat (limited to 'sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.7_p1-r2.ebuild')
-rw-r--r-- | sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.7_p1-r2.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.7_p1-r2.ebuild b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.7_p1-r2.ebuild new file mode 100644 index 000000000000..32ee5c2bae6f --- /dev/null +++ b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.7_p1-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.7_p1-r2.ebuild,v 1.1 2004/07/09 19:39:15 gmsoft Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +ETYPE="sources" +inherit kernel-2 +OKV="${PV/_p*/}" +PATCH_LEVEL="${PV/${OKV}_p/}" +EXTRAVERSION="-pa${PATCH_LEVEL}" +[ ! "${PR}" = "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" +KV=${OKV}${EXTRAVERSION} +S=${WORKDIR}/linux-${KV} + + +DESCRIPTION="Full sources for the Linux kernel with patch for hppa" +SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/linux-2.6/patch-${OKV}-pa${PATCH_LEVEL}.gz" +HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org" +KEYWORDS="hppa -*" +SLOT="${KV}" + + +src_unpack() { + unpack linux-${OKV}.tar.bz2 + mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV} + cd ${S} + + epatch ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz + epatch ${FILESDIR}/ncr53c8xx.diff + epatch ${FILESDIR}/CAN-2004-0626-death_packet.patch + epatch ${FILESDIR}/CAN-2004-0497.patch + +} |