diff options
author | Stefan Jones <cretin@gentoo.org> | 2003-10-28 19:50:18 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2003-10-28 19:50:18 +0000 |
commit | a4bb232b7b98a12c155c95e2c61d18220fd38db4 (patch) | |
tree | 41a0a491f66681e7ca707e6ea78f8d517adbb94b /dev-util/xmingw-runtime/xmingw-runtime-3.2.ebuild | |
parent | fix the breakage again (diff) | |
download | gentoo-2-a4bb232b7b98a12c155c95e2c61d18220fd38db4.tar.gz gentoo-2-a4bb232b7b98a12c155c95e2c61d18220fd38db4.tar.bz2 gentoo-2-a4bb232b7b98a12c155c95e2c61d18220fd38db4.zip |
New version
Diffstat (limited to 'dev-util/xmingw-runtime/xmingw-runtime-3.2.ebuild')
-rw-r--r-- | dev-util/xmingw-runtime/xmingw-runtime-3.2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/xmingw-runtime/xmingw-runtime-3.2.ebuild b/dev-util/xmingw-runtime/xmingw-runtime-3.2.ebuild new file mode 100644 index 000000000000..36af433eaba9 --- /dev/null +++ b/dev-util/xmingw-runtime/xmingw-runtime-3.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-runtime/xmingw-runtime-3.2.ebuild,v 1.1 2003/10/28 19:50:17 cretin Exp $ + +DESCRIPTION="Free Win32 runtime and import library definitions" + +HOMEPAGE="http://www.mingw.org" + +P=${P/xming/ming} + +SRC_URI="mirror://sourceforge/mingw/${P}-src.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86" +IUSE="" +DEPEND="dev-util/xmingw-binutils + dev-util/xmingw-gcc + dev-util/xmingw-w32api" + +S=${WORKDIR}/${P} + +export PATH=$PATH:/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin +unset CFLAGS CXXFLAGS + +src_unpack() { + unpack ${P}-src.tar.gz +} + +src_compile() { + RANLIB=i386-mingw32msvc-ranlib AR=i386-mingw32msvc-ar AS=i386-mingw32msvc-as CC=i386-mingw32msvc-gcc ./configure --target=i386-mingw32msvc --prefix=/opt/mingw32/i386-mingw32msvc + cd mingwex + make W32API_INCLUDE=-I/opt/xmingw/i386-mingw32msvc/include || die + cd .. + make W32API_INCLUDE=-I/opt/xmingw/i386-mingw32msvc/include || die +} + +src_install() { + make install prefix=${D}/opt/xmingw/i386-mingw32msvc || die +} |