summaryrefslogtreecommitdiff
blob: 0829e66b2cf916de8d4aecc48bc6eed452174543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpint/cpint-1.1.6.ebuild,v 1.1 2004/04/20 20:13:13 randy Exp $

MY_PV=${PV//./}

DESCRIPTION="Linux/390 Interface to z/VM's Control Program"
SRC_URI="http://linuxvm.org/Patches/s390/${PN}${MY_PV}.tgz"
HOMEPAGE="http://linuxvm.org/Patches/index.html"
LICENSE="GPL-2"
KEYWORDS="s390"
SLOT="${KV}"
DEPEND=""

src_unpack() {
	unpack ${A}
}

src_compile() {
	check_KV || die "Cannot find kernel in /usr/src/linux"
	einfo "Using kernel in /usr/src/linux:- ${KV}"

	emake INCLUDEDIR=-I/usr/src/linux/include || die "emake failed"
}

src_install() {
	einstall prefix=${D}
	rm -rf ${D}/lib/modules/misc
	dodoc ChangeLog HOW-TO
}