| 1 |
# Copyright 1999-2008 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpint/cpint-2.5.3.ebuild,v 1.1 2007/04/07 15:05:39 vapier Exp $ |
| 4 |
|
| 5 |
inherit linux-info eutils |
| 6 |
|
| 7 |
MY_PV=${PV//./} |
| 8 |
|
| 9 |
DESCRIPTION="Linux/390 Interface to z/VM's Control Program" |
| 10 |
HOMEPAGE="http://linuxvm.org/Patches/index.html" |
| 11 |
SRC_URI="http://linuxvm.org/Patches/s390/${PN}${MY_PV}.tgz" |
| 12 |
|
| 13 |
LICENSE="GPL-2" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="s390" |
| 16 |
IUSE="" |
| 17 |
|
| 18 |
DEPEND="" |
| 19 |
|
| 20 |
src_unpack() { |
| 21 |
unpack ${A} |
| 22 |
cd "${S}" |
| 23 |
epatch "${FILESDIR}"/${P}-build.patch |
| 24 |
epatch "${FILESDIR}"/${P}-prototypes.patch |
| 25 |
epatch "${FILESDIR}"/${P}-kernel.patch |
| 26 |
|
| 27 |
# the makefile uses this variable |
| 28 |
export KERNEL_DIR |
| 29 |
} |
| 30 |
|
| 31 |
src_install() { |
| 32 |
emake install prefix="${D}" || die |
| 33 |
dodoc ChangeLog HOW-TO |
| 34 |
} |