# 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.4 2007/03/19 13:35:37 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.5 2007/04/02 23:18:09 vapier Exp $
+
+*w32api-3.9 (02 Apr 2007)
+
+ 02 Apr 2007; Mike Frysinger <vapier@gentoo.org> +w32api-3.9.ebuild:
+ Version bump #173118 by Dennis Schridde.
19 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove cretin from metadata.xml due to retirement.
SHA256 d461787c12f0784c88295ffc804847d838343ecf553db4c6467da7b597ea8d59 files/w32api-3.7-DESTDIR.patch 877
DIST w32api-3.7-src.tar.gz 1110397 RMD160 ad864a0ef280fc027bb00093f270cd84ff14547f SHA1 b63ef3cd0690ba211ddee560ddb5c8444587c6cb SHA256 337950a4c5a56264242d6ec2026c8bcb06b4256ef345b7fb0aa5883b1107572d
DIST w32api-3.8-src.tar.gz 1182352 RMD160 b02254438d76bcc7f39cc0dd6abc8e868748d520 SHA1 a2be2b4085be4a71e9f29b88e78c927475ff5dad SHA256 925375a8c3bd380374fb9906fecdc48728510215f9cdd43f05d72596512129b0
+DIST w32api-3.9-src.tar.gz 1192048 RMD160 a0c674c91ca7be2d0bd019e7ac77d4750b884665 SHA1 623e73444f9826e90ba8fb1325a54f233ec90644 SHA256 6f4d5dff0d3de31f566592afb34c572455227e45100e9e7f647cc5d16eacb661
EBUILD w32api-3.7.ebuild 1417 RMD160 aa2098cc41594b0416b8423bf646be98e641be5a SHA1 bda36a92ebd7a88cd4b693d813f63bfc7ecca20d SHA256 b69cd7f80641ebb79a0853e968903a5522c0a3d2702c42901180e2ea240c6925
MD5 43e5f76352d0e093ee4ef11ae21289a7 w32api-3.7.ebuild 1417
RMD160 aa2098cc41594b0416b8423bf646be98e641be5a w32api-3.7.ebuild 1417
MD5 868f4a647079cca3b102d3d395a4ad2d w32api-3.8.ebuild 1422
RMD160 c37ba33ef6a176efd1576d13f1b5873b1be40a8d w32api-3.8.ebuild 1422
SHA256 1f4d312a56b113d46220c0a2fcfcc6843b54cbdb7b221dd2c39e1f289868d517 w32api-3.8.ebuild 1422
-MISC ChangeLog 713 RMD160 722710986331ecf317abb18e85bf03528aea1d5c SHA1 1dc3a89253b46f1dd8c77061c7ffdd1d83c29232 SHA256 e939bd4e2533fa794637235433ff29ad57277f48393ec251566c1529c4c81954
-MD5 0fef491ada64d2d6dba036ee18cdaae1 ChangeLog 713
-RMD160 722710986331ecf317abb18e85bf03528aea1d5c ChangeLog 713
-SHA256 e939bd4e2533fa794637235433ff29ad57277f48393ec251566c1529c4c81954 ChangeLog 713
+EBUILD w32api-3.9.ebuild 1422 RMD160 1e119b0ac7401d8eaf2a0f7b83e208cf64a6f09d SHA1 e3ec60d35c10b0c34894b5ec6dc611519d134d5a SHA256 6c65922def9d4f819b63899658a6578f941c1d80143449607f9baedf7dec917d
+MD5 1b143b7321af2e62cebf4eb52edc18d4 w32api-3.9.ebuild 1422
+RMD160 1e119b0ac7401d8eaf2a0f7b83e208cf64a6f09d w32api-3.9.ebuild 1422
+SHA256 6c65922def9d4f819b63899658a6578f941c1d80143449607f9baedf7dec917d w32api-3.9.ebuild 1422
+MISC ChangeLog 854 RMD160 856565924565483266d1d296b89449ae9f768c2c SHA1 f8d971b456dddd95f7be27acfdfc1f8df1f44321 SHA256 8fa2aa87e1058aed05582b1a1561ce80e48f5f8af733fd3126fdd331f8791cf3
+MD5 8f7d59987934fd6ae65cd587b643ebdb ChangeLog 854
+RMD160 856565924565483266d1d296b89449ae9f768c2c ChangeLog 854
+SHA256 8fa2aa87e1058aed05582b1a1561ce80e48f5f8af733fd3126fdd331f8791cf3 ChangeLog 854
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162
MD5 e072863ffd568aa9de95615ce4ff516d files/digest-w32api-3.8 247
RMD160 8592955fc0d5e1bbeb88374907938f9432ffa457 files/digest-w32api-3.8 247
SHA256 0f10f704c479a9af94d4ed6b4dcf52866b04ab209ee72ede4ff663ac8de3583b files/digest-w32api-3.8 247
+MD5 6a419dc2b46a6bfa12084e1ed6059cad files/digest-w32api-3.9 247
+RMD160 a6fd770c28501ed8ae0594de9dd85d9ecd8213f4 files/digest-w32api-3.9 247
+SHA256 6510c4ade4d67b21fa83b772fea5db2b64fb595b712fbf5108c5b237af026f2d files/digest-w32api-3.9 247
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFF/pFvugEuf3OQ0akRAjftAJ9QXUHhZEPz85as8WLzNfVcdX63cwCghsVJ
-TAcakPLwFI//LssTI1zTR44=
-=rDSA
+iD8DBQFGEY9b8bi6rjpTunYRAgLtAJ9SrtWhjtMG94amngfyjEw2J2pfSgCgjmP/
+iWoapJrYhORj8hp6SOPFRK8=
+=FHAd
-----END PGP SIGNATURE-----
--- /dev/null
+# 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.9.ebuild,v 1.1 2007/04/02 23:18:09 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"
+ 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
+}