summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-10 20:58:08 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-10 20:58:08 +0000
commit7ff6e2ba6e87afff3014581c161583fb90819c24 (patch)
treee3a1000b6449831716269158c7a6a2a0b2bee0ea /dev-util/mingw-runtime
parentStabilize for amd64/x86. (diff)
downloadhistorical-7ff6e2ba6e87afff3014581c161583fb90819c24.tar.gz
historical-7ff6e2ba6e87afff3014581c161583fb90819c24.tar.bz2
historical-7ff6e2ba6e87afff3014581c161583fb90819c24.zip
Version bump.
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'dev-util/mingw-runtime')
-rw-r--r--dev-util/mingw-runtime/ChangeLog9
-rw-r--r--dev-util/mingw-runtime/Manifest12
-rw-r--r--dev-util/mingw-runtime/mingw-runtime-3.20.ebuild76
3 files changed, 90 insertions, 7 deletions
diff --git a/dev-util/mingw-runtime/ChangeLog b/dev-util/mingw-runtime/ChangeLog
index 83f08b59d42e..b89cf92f9863 100644
--- a/dev-util/mingw-runtime/ChangeLog
+++ b/dev-util/mingw-runtime/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/mingw-runtime
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/ChangeLog,v 1.21 2010/09/22 22:22:49 vapier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/ChangeLog,v 1.22 2011/12/10 20:58:08 vapier Exp $
+
+*mingw-runtime-3.20 (10 Dec 2011)
+
+ 10 Dec 2011; Mike Frysinger <vapier@gentoo.org> +mingw-runtime-3.20.ebuild:
+ Version bump.
22 Sep 2010; Mike Frysinger <vapier@gentoo.org> mingw-runtime-3.18.ebuild:
Mark amd64/x86 stable.
diff --git a/dev-util/mingw-runtime/Manifest b/dev-util/mingw-runtime/Manifest
index 676f50a2fdd0..25269aa59c22 100644
--- a/dev-util/mingw-runtime/Manifest
+++ b/dev-util/mingw-runtime/Manifest
@@ -4,14 +4,16 @@ Hash: SHA256
AUX mingw-runtime-3.12-DESTDIR.patch 577 RMD160 2747b5cff36430c6a6dc8b283e85cc4ee4d0e9b9 SHA1 1683bc0ef3e98a7fff4a7ec798730ec582445045 SHA256 aad3d91b2b9340e11527d068160b87f47d94f9fc1076b976086224a194cafe67
DIST mingwrt-3.16-mingw32-src.tar.gz 381251 RMD160 0c8ff2e00309c9c6ce472e0a317e381b034fc641 SHA1 9bc72640404b87e4c7a31d15c24600e516285e59 SHA256 68cc000f3efd7c5437d29c86e09e2cb4e89aafdff4ac6194fb3c7d92f6e09266
DIST mingwrt-3.18-mingw32-src.tar.gz 391939 RMD160 73b6b6c7d4b43929452800c2d7f989c31cbbb6fb SHA1 45f5abc0d3d88b06dcb2256df4080ad39ff511d8 SHA256 de4979fd6eedeb21d2d506fe4880a838706dc88cbebe031e38561967fb7cbd42
+DIST mingwrt-3.20-mingw32-src.tar.gz 393946 RMD160 b87c9adc8eebb26a6190d21c4265e990a3bbde26 SHA1 9770758ada304963741c5d00c313a76ef4e74a4d SHA256 f1869483318ed1df5e15e49b8315173e90c1caa2968c4956b7657854c36bfe0a
EBUILD mingw-runtime-3.16.ebuild 2163 RMD160 27204403c1ecf4c8f878f6c5ae3041c3e020330e SHA1 184a86c2d6e5c7e34895b607cf2d4c4c4857beda SHA256 52d0172e074ec0c236bbdf2e49bd6ad7d4eadf4b2dab3ae6e71f182245bf2200
EBUILD mingw-runtime-3.18.ebuild 1859 RMD160 774c622f4e2cb0db082d2fb2674ea2e09dfd064f SHA1 cc2b1fb3f8c173d4fc0ad024bd1a29b249e834db SHA256 067c838b2b5ded7019b5f5b8f9fbba49edeab31898af714624d4214300850600
-MISC ChangeLog 3311 RMD160 fcfa92a5f44902cd7b77618ff0f522360d035c35 SHA1 a78184ebef26bb898f6a3f15df0feb63eb3d62a4 SHA256 231011733c78741cf29c9013b9a9144999a7f748137b48b018d75b58415cd916
+EBUILD mingw-runtime-3.20.ebuild 1928 RMD160 de80611e347af0ac4b51b68f70d663cdd6f90ec8 SHA1 74f81e56f3d05e0fe9242508dd374495482834f2 SHA256 aa31839679a3568f063ae0e82ccdbf0cafad3f7c919e7cf520e3202928264d21
+MISC ChangeLog 3441 RMD160 9593c534dae2a019ad6b18c07bdc964edf6f7391 SHA1 325e9186b9352c37b59aacba8a561215404e0f1f SHA256 ade9f5df0e21b725457f2de21d15a18ec67655ab5d05307ee8d14103a79383b9
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAkyagaUACgkQTwhj9JtAlp47rQD+J1YlcZg+8i+BznjfWd8cZ3su
-8iGNBw0cCMx7+/F5JhwA/jyls14fWc21E0eLWS1mYjIHpBQVFLsZHwDXtmYGmjFh
-=q5uz
+iF4EAREIAAYFAk7jx+YACgkQaC/OocHi7JZ+HgD9GVuRqPIqoa/b9HueR7hm0zsM
+y5F8jXAGCD2Qy4VVybsA/Aw/osCIPyyID11Kg+BoD+vDIemJpngVpTJlf058m+1B
+=bFeI
-----END PGP SIGNATURE-----
diff --git a/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild
new file mode 100644
index 000000000000..b78d963998db
--- /dev/null
+++ b/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2011 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.20.ebuild,v 1.1 2011/12/10 20:58:08 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
+
+MY_P="mingwrt-${PV}-mingw32"
+DESCRIPTION="Free Win32 runtime and import library definitions"
+HOMEPAGE="http://www.mingw.org/"
+# http://sourceforge.net/projects/mingw/files/MinGW/Base/mingw-rt/
+SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="crosscompile_opts_headers-only"
+RESTRICT="strip"
+
+S=${WORKDIR}/${MY_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
+ sed -i \
+ -e '/^install_dlls_host:/s:$: install-dirs:' \
+ Makefile.in || die # fix parallel install
+}
+
+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
+}