stable/trunk/novell4gentoo/sys-kernel/geos-sources/geos-sources-2.6.17.ebuild
2006-08-08 23:20:17 +00:00

46 lines
1.4 KiB
Bash

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.6.16-r8.ebuild,v 1.1 2006/05/21 15:32:15 dsd Exp $
ETYPE="sources"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="1"
IUSE="ultra1"
inherit kernel-2
detect_version
detect_arch
GPV=${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1
GPV_URI="http://home.twin.at/fetkanet/content/uploads/geos-patches-${GPV}.tar.bz2"
UNIPATCH_LIST="${DISTDIR}/geos-patches-${GPV}.tar.bz2"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
HOMEPAGE="http://home.twin.at/fetkanet"
DESCRIPTION="Full sources including the gentoo & geos patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${GPV_URI}"
pkg_setup() {
if use sparc; then
# hme lockup hack on ultra1
use ultra1 || UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1705_sparc-U1-hme-lockup.patch"
fi
}
pkg_postinst() {
postinst_sources
echo
if [ "${ARCH}" = "sparc" ]; then
if [ x"`cat /proc/openprom/name 2>/dev/null`" \
= x"'SUNW,Ultra-1'" ]; then
einfo "For users with an Enterprise model Ultra 1 using the HME"
einfo "network interface, please emerge the kernel using the"
einfo "following command: USE=ultra1 emerge ${PN}"
fi
fi
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
}