diff options
author | 2006-07-18 20:03:06 +0000 | |
---|---|---|
committer | 2006-07-18 20:03:06 +0000 | |
commit | 98239f487f684af49586e450c51c7dcc9342c2ad (patch) | |
tree | b388aa1a97a09caab5ec0183c0e13a7e91f3f5c4 /sys-kernel/hppa-sources/hppa-sources-2.6.17.6_p6.ebuild | |
parent | Fixes compilation with gcc-4.1.1 (diff) | |
download | historical-98239f487f684af49586e450c51c7dcc9342c2ad.tar.gz historical-98239f487f684af49586e450c51c7dcc9342c2ad.tar.bz2 historical-98239f487f684af49586e450c51c7dcc9342c2ad.zip |
Version bump. Fix nasty /proc race (#140444).
Package-Manager: portage-2.1.1_pre1-r2
Diffstat (limited to 'sys-kernel/hppa-sources/hppa-sources-2.6.17.6_p6.ebuild')
-rw-r--r-- | sys-kernel/hppa-sources/hppa-sources-2.6.17.6_p6.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sys-kernel/hppa-sources/hppa-sources-2.6.17.6_p6.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.6.17.6_p6.ebuild new file mode 100644 index 000000000000..202c41a5e41e --- /dev/null +++ b/sys-kernel/hppa-sources/hppa-sources-2.6.17.6_p6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.6.17.6_p6.ebuild,v 1.1 2006/07/18 20:03:06 gmsoft Exp $ + +ETYPE="sources" + +CKV="${PV/_*}" +K_NOUSENAME=true +inherit kernel-2 + +KV_FULL=${CKV}-pa${PATCH_LEVEL} +detect_version + +DESCRIPTION="Full sources for the Linux kernel with patch for hppa" +PATCH_LEVEL="${PV/${CKV}_p/}" +SRC_URI="${KERNEL_URI} +http://ftp.parisc-linux.org/cvs/linux-2.6/patch-${OKV}-pa${PATCH_LEVEL}.gz +mirror://gentoo/4300_squashfs-3.0.patch.bz2" +UNIPATCH_LIST="${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch +${DISTDIR}/4300_squashfs-3.0.patch.bz2" +HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org" +KEYWORDS="-* hppa" + +src_unpack() { + + if [[ -n ${KV_EXTRA} ]] + then + + KV_EXTRA=".${KV_EXTRA}" + + zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | \ + sed -e "/+EXTRAVERSION/s/=.*\$/=/" > \ + ${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch + else + zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz > \ + ${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch + fi + + EXTRAVERSION=${KV_EXTRA}-pa${PATCH_LEVEL} + + universal_unpack + + # We force the order of patching. kernel-2.eclass does weird stuff + unipatch ${UNIPATCH_LIST} + unipatch ${UNIPATCH_LIST_DEFAULT} + + unpack_set_extraversion + unpack_fix_docbook + unpack_fix_install_path +} |