public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/w32api: ChangeLog w32api-3.10.ebuild
@ 2007-10-06 22:37 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2007-10-06 22:37 UTC (permalink / raw
  To: gentoo-commits

vapier      07/10/06 22:37:08

  Modified:             ChangeLog
  Added:                w32api-3.10.ebuild
  Log:
  Version bump #192642 by Dennis Schridde.
  (Portage version: 2.1.3.11)

Revision  Changes    Path
1.6                  dev-util/w32api/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/w32api/ChangeLog?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/w32api/ChangeLog?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/w32api/ChangeLog?r1=1.5&r2=1.6

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog	2 Apr 2007 23:18:09 -0000	1.5
+++ ChangeLog	6 Oct 2007 22:37:07 -0000	1.6
@@ -1,6 +1,11 @@
 # ChangeLog for dev-util/w32api
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.5 2007/04/02 23:18:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.6 2007/10/06 22:37:07 vapier Exp $
+
+*w32api-3.10 (06 Oct 2007)
+
+  06 Oct 2007; Mike Frysinger <vapier@gentoo.org> +w32api-3.10.ebuild:
+  Version bump #192642 by Dennis Schridde.
 
 *w32api-3.9 (02 Apr 2007)
 



1.1                  dev-util/w32api/w32api-3.10.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/w32api/w32api-3.10.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/w32api/w32api-3.10.ebuild?rev=1.1&content-type=text/plain

Index: w32api-3.10.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/w32api-3.10.ebuild,v 1.1 2007/10/06 22:37:07 vapier Exp $

export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} == ${CHOST} ]] ; then
	if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
		export CTARGET=${CATEGORY/cross-}
	fi
fi

inherit eutils flag-o-matic

DESCRIPTION="Free Win32 runtime and import library definitions"
HOMEPAGE="http://www.mingw.org/"
SRC_URI="mirror://sourceforge/mingw/${P}-src.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
RESTRICT="strip"

DEPEND=""

just_headers() {
	use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
}

pkg_setup() {
	if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
		die "Invalid configuration; do not emerge this directly"
	fi
}

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/${PN}-3.7-DESTDIR.patch
}

src_compile() {
	just_headers && return 0

	CHOST=${CTARGET} strip-unsupported-flags
	econf \
		--host=${CTARGET} \
		--prefix=/usr/${CTARGET}/usr \
		|| die
	emake || die
}

src_install() {
	if just_headers ; then
		insinto /usr/${CTARGET}/usr/include
		doins -r include/* || die
	else
		emake install DESTDIR="${D}" || die
		env -uRESTRICT CHOST=${CTARGET} prepallstrip
		dodoc CONTRIBUTIONS ChangeLog README.w32api TODO
	fi
}



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-06 22:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-06 22:37 [gentoo-commits] gentoo-x86 commit in dev-util/w32api: ChangeLog w32api-3.10.ebuild Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox