summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-15 22:23:28 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-15 22:23:28 +0000
commit00a6269cc31969630fa21bcf166db136af09b7b2 (patch)
treee36f450cdaf633151937e45cf745da36c85957d4 /dev-util
parentwhitespace fix (diff)
downloadhistorical-00a6269cc31969630fa21bcf166db136af09b7b2.tar.gz
historical-00a6269cc31969630fa21bcf166db136af09b7b2.tar.bz2
historical-00a6269cc31969630fa21bcf166db136af09b7b2.zip
don't assign to P; use emake; error messages; tidy
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/xmingw-w32api/ChangeLog8
-rw-r--r--dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild42
2 files changed, 30 insertions, 20 deletions
diff --git a/dev-util/xmingw-w32api/ChangeLog b/dev-util/xmingw-w32api/ChangeLog
index 0a915661f37a..ac287a3d9fd5 100644
--- a/dev-util/xmingw-w32api/ChangeLog
+++ b/dev-util/xmingw-w32api/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/xmingw-w32api
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-w32api/ChangeLog,v 1.1 2003/10/02 10:22:06 cretin Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-w32api/ChangeLog,v 1.2 2004/03/15 22:23:28 mr_bones_ Exp $
+
+ 15 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ xmingw-w32api-2.4.ebuild:
+ don't assign to P; use emake; error messages; tidy
* xmingw-w32api-2.4 (01 Oct 2003)
diff --git a/dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild b/dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild
index b2468549ce68..49b1b4f72622 100644
--- a/dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild
+++ b/dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild
@@ -1,41 +1,47 @@
-# 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-w32api/xmingw-w32api-2.4.ebuild,v 1.2 2003/10/28 19:51:29 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild,v 1.3 2004/03/15 22:23:28 mr_bones_ Exp $
-DESCRIPTION="Free headers and libraries for the Win32 API"
-
-HOMEPAGE="http://www.mingw.org"
-
-P=${P/xmingw-}
+MY_P=${P/xmingw-}
RUNTIME=mingw-runtime-3.2
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Free headers and libraries for the Win32 API"
+HOMEPAGE="http://www.mingw.org"
SRC_URI="mirror://sourceforge/mingw/${RUNTIME}-src.tar.gz
- mirror://sourceforge/mingw/${P}-src.tar.gz"
+ mirror://sourceforge/mingw/${MY_P}-src.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86"
IUSE=""
+
DEPEND="dev-util/xmingw-binutils
dev-util/xmingw-gcc"
-S=${WORKDIR}/${P}
-
-export PATH=$PATH:/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin
-unset CFLAGS CXXFLAGS
-
src_unpack() {
unpack ${RUNTIME}-src.tar.gz
- unpack ${P}-src.tar.gz
- ln -s ${P} w32api
+ unpack ${MY_P}-src.tar.gz
+ ln -s ${MY_P} w32api
ln -s ${RUNTIME} mingw
}
src_compile() {
- RANLIB=i386-mingw32msvc-ranlib AR=i386-mingw32msvc-ar AS=i386-mingw32msvc-as CC=i386-mingw32msvc-gcc ./configure --target=i386-mingw32msvc --prefix=/opt/xmingw/i386-mingw32msvc --build=i386-mingw32msvc || die
- make || die
+ export PATH=$PATH:/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin
+ unset CFLAGS CXXFLAGS
+ RANLIB=i386-mingw32msvc-ranlib \
+ AR=i386-mingw32msvc-ar \
+ AS=i386-mingw32msvc-as \
+ CC=i386-mingw32msvc-gcc \
+ ./configure \
+ --target=i386-mingw32msvc \
+ --prefix=/opt/xmingw/i386-mingw32msvc \
+ --build=i386-mingw32msvc \
+ || die "configure failed"
+ emake || die "emake failed"
}
src_install() {
- make install prefix=${D}/opt/xmingw/i386-mingw32msvc || die
+ make install prefix=${D}/opt/xmingw/i386-mingw32msvc \
+ || die "make install failed"
}