summaryrefslogtreecommitdiff
blob: 997b4856f86fcd1ec70d39bec24640be2f14146f (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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit toolchain-funcs

DESCRIPTION="Intelligent PE executable wrapper for binfmt_misc"
HOMEPAGE="http://qwpx.net/~mgorny/pe-format2/"
SRC_URI="http://qwpx.net/~mgorny/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

src_compile() {
	tc-export CC
	emake || die
}

src_install() {
	dobin pe-exec || die
	newconfd pe-format2.conf ${PN} || die
	newinitd pe-format2.init ${PN} || die
}