summaryrefslogtreecommitdiff
blob: 421b2e89b9e21f028a4ea572fb94493ddf25cdb0 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/linux32/linux32-1.0.ebuild,v 1.7 2005/07/08 04:06:59 kumba Exp $

DESCRIPTION="A utility that allows AMD64 code to run in an environment so that the uname() call returns non-AMD64-specific info"
HOMEPAGE="ftp://ftp.x86-64.org/pub/linux-x86_64/tools/linux32/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""
LICENSE="GPL-2"

src_compile() {
	cd ${S}
	emake linux32
}

src_install() {
	into /
	dobin ${S}/linux32
	ln -s linux32 ${D}/bin/linux64
	doman ${S}/linux32.1
	ln -s linux32.1.gz ${D}/usr/share/man/man1/linux64.1.gz
	dodoc ${S}/README
}