Version bump #166852 by Dennis Schridde.
authorMike Frysinger <vapier@gentoo.org>
Wed, 14 Feb 2007 23:25:36 +0000 (23:25 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 14 Feb 2007 23:25:36 +0000 (23:25 +0000)
Package-Manager: portage-2.1.2-r9

dev-util/mingw-runtime/ChangeLog
dev-util/mingw-runtime/Manifest
dev-util/mingw-runtime/files/digest-mingw-runtime-3.11_p20061202 [new file with mode: 0644]
dev-util/mingw-runtime/mingw-runtime-3.11_p20061202.ebuild [new file with mode: 0644]

index 0092577b1d43764878b021d1a8065b10c209c1a3..f1454d97fd4b8bf26c8b96f1aa39508f3aa5fbd4 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-util/mingw-runtime
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/ChangeLog,v 1.3 2007/01/09 00:37:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/ChangeLog,v 1.4 2007/02/14 23:25:36 vapier Exp $
+
+*mingw-runtime-3.11_p20061202 (14 Feb 2007)
+
+  14 Feb 2007; Mike Frysinger <vapier@gentoo.org>
+  +mingw-runtime-3.11_p20061202.ebuild:
+  Version bump #166852 by Dennis Schridde.
 
 *mingw-runtime-3.11 (09 Jan 2007)
 
index 0b7f04a68e2274fea4f5813e75b013574b480471..d748cd2f9b8b1d8c712e57ed62400e25f78790d0 100644 (file)
@@ -6,6 +6,7 @@ MD5 d9c9d95f6e4735b1210b17a59ffc453d files/mingw-runtime-3.9-DESTDIR.patch 1004
 RMD160 35dbaf28bccb18d6472e2af73ccc8925091751dc files/mingw-runtime-3.9-DESTDIR.patch 1004
 SHA256 0bb79aaff724272a3642ae83a1c42da95226e63f502f6de9a629d9330a06cd48 files/mingw-runtime-3.9-DESTDIR.patch 1004
 DIST mingw-runtime-3.10-src.tar.gz 338373 RMD160 b8c20dfec6f188a50a51a7fd2c4c3a1228554daa SHA1 c01496252895fa3e37e93ac4fc7b5332fa6e2245 SHA256 eefa03102b49a529c7fa30a531487ded69ac57384ae3a0f07fd0a24af5c9ea2d
+DIST mingw-runtime-3.11-20061202-1-src.tar.gz 378049 RMD160 b38d4301f7a590d45e38c1cb78000bfca9d25fea SHA1 3e4386eede55ecccfc1644a084b5d221244ef859 SHA256 19471fe1f8a54db8bbf4ae8aa0ba8822d80d9f77a125abac1410670532cba461
 DIST mingw-runtime-3.11-src.tar.gz 363078 RMD160 808672cd11daadd408d90b3e3ad337329b57ca9e SHA1 bc0be2721986778fd43e572b8fe6dcffbf87bbc1 SHA256 77457528f0682a3e22c02375dd1ff80042288e75653f66995001a5b94811c3c8
 DIST mingw-runtime-3.9-src.tar.gz 301241 RMD160 b50c14fb566f94a9eee40cc2e716c67aa8bece29 SHA1 e324d7afa3bdff5069eb44ad09051a8fda5f54b0 SHA256 e3b1aaa2405a8aa5dbbd2eb0e286c03dcb6e0b9ad6c0f8b64ea02dc3bd3470fc
 EBUILD mingw-runtime-3.10.ebuild 2066 RMD160 3f33548440c59f8f902d4cdeab2cc0088a9cb630 SHA1 3a8e751a25e1b427c1ffd91787efbf1741805feb SHA256 50d3387ba13d93beba9a5f45dea231b2a7c9338249db4184b7b00c0e235b49fe
@@ -16,14 +17,18 @@ EBUILD mingw-runtime-3.11.ebuild 2066 RMD160 eca525e359223361273d00186e0595273bf
 MD5 b962f1ac5da469b3aa69c1a5b1f736e6 mingw-runtime-3.11.ebuild 2066
 RMD160 eca525e359223361273d00186e0595273bf8ba02 mingw-runtime-3.11.ebuild 2066
 SHA256 5afc8faf7c446a3f629afe67f01fc9d108124a305c2260b8f1824e8a1c55fd44 mingw-runtime-3.11.ebuild 2066
+EBUILD mingw-runtime-3.11_p20061202.ebuild 2120 RMD160 64580ae2098ddd0d9a0b3337114e651fddf2f611 SHA1 ad4deb3d61df979715f041b45e58761c3d9ffaba SHA256 74cdf38220156c497d8ab8a16684a0fbb0186383a11cbc8855e4d035003a7f9c
+MD5 64dbd032d8296981915fcc9625a72784 mingw-runtime-3.11_p20061202.ebuild 2120
+RMD160 64580ae2098ddd0d9a0b3337114e651fddf2f611 mingw-runtime-3.11_p20061202.ebuild 2120
+SHA256 74cdf38220156c497d8ab8a16684a0fbb0186383a11cbc8855e4d035003a7f9c mingw-runtime-3.11_p20061202.ebuild 2120
 EBUILD mingw-runtime-3.9.ebuild 1815 RMD160 63bf1926510613b6701338af30575b201bc86860 SHA1 590f2d3e7ec9932bb2bb1f45c87c06eb736ffcb9 SHA256 a92ed6b2f8532f7f17f4d3368f385ee42670dc575116a6820b86cf7ae2cb6359
 MD5 f438a9dab025119c5c81b137fae29da2 mingw-runtime-3.9.ebuild 1815
 RMD160 63bf1926510613b6701338af30575b201bc86860 mingw-runtime-3.9.ebuild 1815
 SHA256 a92ed6b2f8532f7f17f4d3368f385ee42670dc575116a6820b86cf7ae2cb6359 mingw-runtime-3.9.ebuild 1815
-MISC ChangeLog 668 RMD160 018e92e6a18b096f6a11492098f10e229b84edee SHA1 6dfa1636246a65fc6ba80d29b09275ceda06b93b SHA256 e0ec2edd220c34be4a40af1aba1b76f3657d580c9b627bfa9b48a499b25d5622
-MD5 23f6f10a2c04c6de670c6cc03fd8786b ChangeLog 668
-RMD160 018e92e6a18b096f6a11492098f10e229b84edee ChangeLog 668
-SHA256 e0ec2edd220c34be4a40af1aba1b76f3657d580c9b627bfa9b48a499b25d5622 ChangeLog 668
+MISC ChangeLog 847 RMD160 7d1b80c576005796a37d1b69c7cc32965ee5587c SHA1 8e23007ff9d67ab23ae60c185778f03bd186db04 SHA256 f36938abd417eb20986155a44ffb4180a8940e682be6e38e557caf5593944939
+MD5 85f90a0cd8fd2d4e97839e837030ab5b ChangeLog 847
+RMD160 7d1b80c576005796a37d1b69c7cc32965ee5587c ChangeLog 847
+SHA256 f36938abd417eb20986155a44ffb4180a8940e682be6e38e557caf5593944939 ChangeLog 847
 MISC metadata.xml 223 RMD160 36e6a5940590832029aac6ed270f60d5fa1baae2 SHA1 0508f80e0b5a4b8e1ee231a8598b77408790c6c9 SHA256 b2f3120f8e01640fb311c3e50a5c37b69ff39fc4cb9fc4524456231143d9b46a
 MD5 5cb5b78617763221de65594c062356bb metadata.xml 223
 RMD160 36e6a5940590832029aac6ed270f60d5fa1baae2 metadata.xml 223
@@ -34,13 +39,16 @@ SHA256 1a53e3a7535b33e61513c1c7b825de437a7c18e3a133a93d6569400c14d830e7 files/di
 MD5 009c5ab771c0b28f273f7f8eff03fe1a files/digest-mingw-runtime-3.11 268
 RMD160 238c16e1ffdbf54f3230164f2058d39974202c73 files/digest-mingw-runtime-3.11 268
 SHA256 aa39f004244193c84e9a263acda67242fcf285c9b60b4f99d13bb1da2136c44a files/digest-mingw-runtime-3.11 268
+MD5 fa1937b2d08719dfdd3148bad9635783 files/digest-mingw-runtime-3.11_p20061202 301
+RMD160 2ce849fd3b74af1dd0c42bee6c704cc7c311f0e2 files/digest-mingw-runtime-3.11_p20061202 301
+SHA256 459688cc7476329add9717765e467460bbe33ea29ed915b080f52c6590667036 files/digest-mingw-runtime-3.11_p20061202 301
 MD5 04e91ddce8a3d6d49718a360d094f88d files/digest-mingw-runtime-3.9 265
 RMD160 b22798b7f18ee32d2789c297f9154d8e2fea5891 files/digest-mingw-runtime-3.9 265
 SHA256 cfd69ae054434425d59eed64b731441c2c4aeea16d8a5eca4b3b26bc1717afcc files/digest-mingw-runtime-3.9 265
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v2.0.2 (GNU/Linux)
 
-iD8DBQFFouPZ8bi6rjpTunYRAvunAKCKtd82skaNwicJnL85JtqRahyUOACfSSQY
-WP5ltbQQND3LryRkC49ZPMc=
-=sTgA
+iD8DBQFF05qT8bi6rjpTunYRAn4cAKCctmN2eJTN+FhoWiuYlt1v6w8uywCgimcH
+sDbrhJ0MbJun9VxsdaFdSj4=
+=tRwa
 -----END PGP SIGNATURE-----
diff --git a/dev-util/mingw-runtime/files/digest-mingw-runtime-3.11_p20061202 b/dev-util/mingw-runtime/files/digest-mingw-runtime-3.11_p20061202
new file mode 100644 (file)
index 0000000..44569e3
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 5dd9522561222819e4ca78b2950b80f6 mingw-runtime-3.11-20061202-1-src.tar.gz 378049
+RMD160 b38d4301f7a590d45e38c1cb78000bfca9d25fea mingw-runtime-3.11-20061202-1-src.tar.gz 378049
+SHA256 19471fe1f8a54db8bbf4ae8aa0ba8822d80d9f77a125abac1410670532cba461 mingw-runtime-3.11-20061202-1-src.tar.gz 378049
diff --git a/dev-util/mingw-runtime/mingw-runtime-3.11_p20061202.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.11_p20061202.ebuild
new file mode 100644 (file)
index 0000000..7a3eca3
--- /dev/null
@@ -0,0 +1,80 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/mingw-runtime-3.11_p20061202.ebuild,v 1.1 2007/02/14 23:25:36 vapier Exp $
+
+# This version does not work as the configure script expects the installed
+# cross-compiler to be able to link binaries ... except we haven't provided
+# any of the crt objects yet so it is impossible to link binaries.
+# Older mingw-runtime packages hacked around the issue, but this version seems
+# to have dropped said hack thus breaking the package.
+
+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/${PN}-${PV/_p/-}-1-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="-*"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND=""
+
+S=${WORKDIR}/${PN}-${PV%_p*}
+
+is_crosscompile() {
+       [[ ${CHOST} != ${CTARGET} ]]
+}
+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}"
+       sed -i \
+               -e "/W32API_INCLUDE/s:=.*:='-I /usr/${CTARGET}/usr/include':" \
+               $(find -name configure) || die
+       epatch "${FILESDIR}"/${PN}-3.9-DESTDIR.patch
+}
+
+src_compile() {
+       just_headers && return 0
+
+       CHOST=${CTARGET} strip-unsupported-flags
+       econf --host=${CTARGET} || die
+       emake || die
+}
+
+src_install() {
+       if just_headers ; then
+               insinto /usr/${CTARGET}/usr/include
+               doins -r include/* || die
+       else
+               local insdir
+               is_crosscompile \
+                       && insdir=${D}/usr/${CTARGET} \
+                       || insdir=${D}
+               emake install DESTDIR="${insdir}" || die
+               env -uRESTRICT CHOST=${CTARGET} prepallstrip
+               rm -rf "${insdir}"/usr/doc
+               dodoc CONTRIBUTORS ChangeLog README TODO readme.txt
+       fi
+       is_crosscompile && dosym usr /usr/${CTARGET}/mingw
+}