summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-11-19 08:25:59 +0000
committerMike Frysinger <vapier@gentoo.org>2010-11-19 08:25:59 +0000
commitae5e3659eeda78d924ce99478c3dd5b6a2c36f93 (patch)
treec1066a60213aff25730bb3758a73c79376829f8b /dev-util
parentVersion bump (diff)
downloadhistorical-ae5e3659eeda78d924ce99478c3dd5b6a2c36f93.tar.gz
historical-ae5e3659eeda78d924ce99478c3dd5b6a2c36f93.tar.bz2
historical-ae5e3659eeda78d924ce99478c3dd5b6a2c36f93.zip
Version bump.
Package-Manager: portage-2.2.0_alpha4/cvs/Linux x86_64
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/mingw64-runtime/ChangeLog8
-rw-r--r--dev-util/mingw64-runtime/Manifest14
-rw-r--r--dev-util/mingw64-runtime/mingw64-runtime-20101003.ebuild71
3 files changed, 85 insertions, 8 deletions
diff --git a/dev-util/mingw64-runtime/ChangeLog b/dev-util/mingw64-runtime/ChangeLog
index 42a1c7966eb0..198145a8b660 100644
--- a/dev-util/mingw64-runtime/ChangeLog
+++ b/dev-util/mingw64-runtime/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/mingw64-runtime
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.6 2010/08/14 01:08:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/ChangeLog,v 1.7 2010/11/19 08:25:59 vapier Exp $
+
+*mingw64-runtime-20101003 (19 Nov 2010)
+
+ 19 Nov 2010; Mike Frysinger <vapier@gentoo.org>
+ +mingw64-runtime-20101003.ebuild:
+ Version bump.
*mingw64-runtime-20100730 (14 Aug 2010)
diff --git a/dev-util/mingw64-runtime/Manifest b/dev-util/mingw64-runtime/Manifest
index b1040fd1a5bb..88faffc37af0 100644
--- a/dev-util/mingw64-runtime/Manifest
+++ b/dev-util/mingw64-runtime/Manifest
@@ -1,16 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST mingw-w64-v1.0-snapshot-20100604.tar.bz2 4770646 RMD160 35ab8ce9145a819ca5bc03f33b3ecd0201377b7a SHA1 a183616eefe4be5070eb1f3414f09c0b3d0f2e18 SHA256 ede2598f1e83d1131f3722117ce159d8d605a6f69ec8dc6d7bf85e0e91964294
DIST mingw-w64-v1.0-snapshot-20100730.tar.bz2 4882152 RMD160 9ba070543e7c818c718f492c703a73c5cb4eab76 SHA1 3c85137f176bc95500b15a6eeb1e1bcf95a6d21f SHA256 5add16e41d9409b363524aea88a531998424470223c392c8f8658b15e055f974
-EBUILD mingw64-runtime-20100604.ebuild 1930 RMD160 f3329eb94ebd4ebefbdbcec09f3c6863456ed9c5 SHA1 a3549d19db97534173dbf3ac72dc581092865681 SHA256 9dd80807d1f7ed9a6a7b85d4f1adcb2f83a49e07d05c1ba8d7601c440c2eb480
+DIST mingw-w64-v1.0-snapshot-20101003.tar.bz2 4580165 RMD160 6a6e148fe930141c6661fbe89b11dfad2ca61936 SHA1 c5dfe640c9162e31aefe16d8550325dbbb2cffbe SHA256 96cc8c99d491b64ab02f0167935d4958bc39193e00a753587ffa41a79bba8c50
EBUILD mingw64-runtime-20100730.ebuild 1930 RMD160 697af95504492052c6a861b8ece3bf8908ed5034 SHA1 620041977018e3f3203701024aad1782709f8e4f SHA256 e469a6cd5357aac87ffa1aeb3ceacc719d84c79848a3378f98326288d28e0d0a
-MISC ChangeLog 1304 RMD160 d8e495ebb4dd0552011b5c3079354e0d3824c568 SHA1 ac44d8a39fbe7dc2ef846db09c39f1121edfc79a SHA256 27cf478a42f5f49cc9a37305faa349b89c9685cbc499d75ced6fe94b8b78689a
+EBUILD mingw64-runtime-20101003.ebuild 1930 RMD160 88dcb8045b54d6925b4f61c4ac5dd711100ccb24 SHA1 b0306b36cb946a1329bbeaf032f86a955ece4b67 SHA256 f3e09bd415da00149b5f7c7765a7d1684f9b758d994bcd3343916c07536c2edd
+MISC ChangeLog 1448 RMD160 2470431b72a66dfb5ff6c46a83555cccceda94db SHA1 dbcef0570adc792b9b7d5b759975c69c93c29e1d SHA256 efa8e072cf1bb8a39124737f4de23e2996216d9b4b52fb38e697906c9eb4fe6c
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iF4EAREIAAYFAkxl7RAACgkQTwhj9JtAlp4uFgEAiLPTbAdaE6BB/ZPk8f3ZumxO
-PnJmJBqGxxW1xk3kD8ABAKvvDhf3rv1fWp4Ixdxvsl1cKnoO4O2NlSflalLOGg/+
-=rBc3
+iF4EAREIAAYFAkzmNDYACgkQTwhj9JtAlp6jYQEAhJh1kfSEAvL8/yyAaqdk/alx
+tYHHvmLwZIFFgAhSkjgBAIm2RRJpTsbP8knzcq4zgZ5LRO5nGMmu7EkviBjMxxWV
+=jqW8
-----END PGP SIGNATURE-----
diff --git a/dev-util/mingw64-runtime/mingw64-runtime-20101003.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-20101003.ebuild
new file mode 100644
index 000000000000..80e62b0a5b0c
--- /dev/null
+++ b/dev-util/mingw64-runtime/mingw64-runtime-20101003.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-20101003.ebuild,v 1.1 2010/11/19 08:25:59 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 flag-o-matic eutils
+
+DESCRIPTION="Free Win64 runtime and import library definitions"
+HOMEPAGE="http://mingw-w64.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64-v1.0-snapshot-${PV}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="crosscompile_opts_headers-only"
+RESTRICT="strip"
+
+S=${WORKDIR}/mingw-w64-v1.0-${PV}/mingw-w64-crt
+
+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}
+ find "${WORKDIR}" -type f -exec touch -r . {} +
+}
+
+src_compile() {
+ # install the local headers as the crt step wants latest
+ pushd ../mingw-w64-headers >/dev/null
+ CHOST=${CTARGET} econf --with-sdk || die
+ emake install DESTDIR="${WORKDIR}/sysroot" || die
+ popd >/dev/null
+
+ just_headers && return 0
+
+ CHOST=${CTARGET} strip-unsupported-flags
+ append-cppflags -isystem "${WORKDIR}/sysroot/usr/${CTARGET}/include"
+ CHOST=${CTARGET} econf || die
+ emake || die
+}
+
+src_install() {
+ insinto /usr/${CTARGET}/usr/include
+ doins -r "${WORKDIR}"/sysroot/usr/${CTARGET}/include/* || die
+ is_crosscompile \
+ && dosym usr /usr/${CTARGET}/${CTARGET} \
+ && dosym usr/include /usr/${CTARGET}/sys-include
+ just_headers && return 0
+
+ emake install DESTDIR="${D}" || die
+ env -uRESTRICT CHOST=${CTARGET} prepallstrip
+ rm -rf "${D}"/usr/doc
+}