blob: 17cf1725a5a8cdd721df9f003b8a5b7d66cba53f (
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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-binutils/xmingw-binutils-2.15.94.20050118.1.ebuild,v 1.3 2006/07/27 23:49:54 fmccor Exp $
inherit eutils base
MY_P=binutils-2.15.94-20050118-1
S=${WORKDIR}/${MY_P}
DESCRIPTION="Tools necessary to build Win32 programs"
HOMEPAGE="http://sources.redhat.com/binutils/"
SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.gz"
LICENSE="|| ( GPL-2 LGPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""
DEPEND=""
PATCHES="${FILESDIR}/${P}-gcc4.patch"
src_compile() {
./configure \
--target=i386-mingw32msvc \
--prefix=/opt/xmingw || die "configure failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
}
|