diff options
Diffstat (limited to 'dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild')
-rw-r--r-- | dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild b/dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild index b6bc59befd86..556c1de1daad 100644 --- a/dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild +++ b/dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild @@ -1,40 +1,38 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild,v 1.1 2003/10/02 10:15:30 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild,v 1.2 2004/03/15 21:47:16 mr_bones_ Exp $ -DESCRIPTION="Tools necessary to build Win32 programs" - -HOMEPAGE="http://sources.redhat.com/binutils/" +inherit eutils +MY_P=${P/xmingw-/} +S=${WORKDIR}/${MY_P} MINGW_PATCH=binutils-2.14.90-20030807-1-src.diff.gz -P=${P/xmingw-/} - -SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2 +DESCRIPTION="Tools necessary to build Win32 programs" +HOMEPAGE="http://sources.redhat.com/binutils/" +SRC_URI="mirror://kernel/linux/devel/binutils/${MY_P}.tar.bz2 mirror://sourceforge/mingw/${MINGW_PATCH}" -LICENSE="GPL-2 | LGPL-2" +LICENSE="GPL-2 | LGPL-2" SLOT="0" - KEYWORDS="x86" - IUSE="" DEPEND="" -S=${WORKDIR}/${P} - src_unpack() { - unpack ${P}.tar.bz2 - cd ${S}; gzip -dc ${DISTDIR}/${MINGW_PATCH} | patch -p1 + unpack ${MY_P}.tar.bz2 + cd ${S} + epatch "${DISTDIR}/${MINGW_PATCH}" } src_compile() { - ./configure --target=i386-mingw32msvc --prefix=/opt/xmingw || die - - make || die + ./configure \ + --target=i386-mingw32msvc \ + --prefix=/opt/xmingw || die "configure failed" + emake || die "emake failed" } src_install() { - make DESTDIR=${D} install || die + make DESTDIR="${D}" install || die "make install failed" } |