summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-06-20 04:27:50 +0000
committerMike Frysinger <vapier@gentoo.org>2010-06-20 04:27:50 +0000
commit8fc24d11334f962b2de6695e39f54d6d52cbf5c1 (patch)
treed2224f958428fc130e4cc0796c2336718d6fd2a6 /dev-util/mingw-runtime
parentMark amd64/x86 stable. (diff)
downloadhistorical-8fc24d11334f962b2de6695e39f54d6d52cbf5c1.tar.gz
historical-8fc24d11334f962b2de6695e39f54d6d52cbf5c1.tar.bz2
historical-8fc24d11334f962b2de6695e39f54d6d52cbf5c1.zip
Version bump.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-util/mingw-runtime')
-rw-r--r--dev-util/mingw-runtime/ChangeLog8
-rw-r--r--dev-util/mingw-runtime/Manifest18
-rw-r--r--dev-util/mingw-runtime/mingw-runtime-3.18.ebuild75
3 files changed, 91 insertions, 10 deletions
diff --git a/dev-util/mingw-runtime/ChangeLog b/dev-util/mingw-runtime/ChangeLog
index 2191e60bb2df..1f6f447a6a57 100644
--- a/dev-util/mingw-runtime/ChangeLog
+++ b/dev-util/mingw-runtime/ChangeLog
@@ -1,6 +1,12 @@
# 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.19 2010/06/20 04:27:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/ChangeLog,v 1.20 2010/06/20 04:27:50 vapier Exp $
+
+*mingw-runtime-3.18 (20 Jun 2010)
+
+ 20 Jun 2010; Mike Frysinger <vapier@gentoo.org>
+ +mingw-runtime-3.18.ebuild:
+ Version bump.
20 Jun 2010; Mike Frysinger <vapier@gentoo.org> mingw-runtime-3.16.ebuild:
Mark amd64/x86 stable.
diff --git a/dev-util/mingw-runtime/Manifest b/dev-util/mingw-runtime/Manifest
index b0214229812d..43e8ce200e51 100644
--- a/dev-util/mingw-runtime/Manifest
+++ b/dev-util/mingw-runtime/Manifest
@@ -1,19 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX mingw-runtime-3.12-DESTDIR.patch 577 RMD160 2747b5cff36430c6a6dc8b283e85cc4ee4d0e9b9 SHA1 1683bc0ef3e98a7fff4a7ec798730ec582445045 SHA256 aad3d91b2b9340e11527d068160b87f47d94f9fc1076b976086224a194cafe67
-DIST mingwrt-3.15.1-mingw32-src.tar.gz 427412 RMD160 a23cb59729fe8aa9ca7bea5299a54e479e60c9da SHA1 26d7a1f45d379faebe76adcf6b052e0ef634c70d SHA256 4f4d19f3e15fdf00957932211be609b6bf4e689ad5938ce7bff666a638bde0e7
DIST mingwrt-3.15.2-mingw32-src.tar.gz 441398 RMD160 5101a5f77cefd310bffd0e397005b85762bac32c SHA1 6e7079968a3a7a819a7dd482950eddd6483c0ef6 SHA256 64d7c31354d318ec2085e39e724287c78742a66302fd0b27dab7a3f705d5c54d
DIST mingwrt-3.16-mingw32-src.tar.gz 381251 RMD160 0c8ff2e00309c9c6ce472e0a317e381b034fc641 SHA1 9bc72640404b87e4c7a31d15c24600e516285e59 SHA256 68cc000f3efd7c5437d29c86e09e2cb4e89aafdff4ac6194fb3c7d92f6e09266
-EBUILD mingw-runtime-3.15.1.ebuild 2165 RMD160 40ed8f62e852471450cf138f3cae70f6f484b46d SHA1 7f1e2132eb7069cee462370561cdb259b948167c SHA256 a22efc794db1d76fb310fc68f58e61b0048bc298f54a76f9d4b38014cd2fc6eb
+DIST mingwrt-3.18-mingw32-src.tar.gz 391939 RMD160 73b6b6c7d4b43929452800c2d7f989c31cbbb6fb SHA1 45f5abc0d3d88b06dcb2256df4080ad39ff511d8 SHA256 de4979fd6eedeb21d2d506fe4880a838706dc88cbebe031e38561967fb7cbd42
EBUILD mingw-runtime-3.15.2.ebuild 2165 RMD160 937e45247f9e419f08cfc06f072135cc416c65c0 SHA1 f06c75c414ab1d01d3cc3480874941d6b58cbaf4 SHA256 bf85aba86ad852ef101aa8a24e84ad4f8b66708259c9d52ff2208f9264c90691
-EBUILD mingw-runtime-3.16.ebuild 2165 RMD160 c11b020b6a1bec347f7a4c23d29263907290773c SHA1 81799f1dc4f055e27d8b851fc11a2113610c5902 SHA256 a94f2e9c755379feaaa2084e50c29a8555f498c3fec52ad4ea0a6875a6145b08
-MISC ChangeLog 2973 RMD160 d535e45069d0cb2a6f97383260731c28c3e3fcb5 SHA1 1abc84fc62b69dda2683c07aefec9fe8aa70b693 SHA256 be05269a1cfc0e4d6046d4abd1764cf90360108692c4c5566856cb2f85b19e34
+EBUILD mingw-runtime-3.16.ebuild 2163 RMD160 27204403c1ecf4c8f878f6c5ae3041c3e020330e SHA1 184a86c2d6e5c7e34895b607cf2d4c4c4857beda SHA256 52d0172e074ec0c236bbdf2e49bd6ad7d4eadf4b2dab3ae6e71f182245bf2200
+EBUILD mingw-runtime-3.18.ebuild 1861 RMD160 efffdf1cd738eed8b2b64416375a50a0d8aa9a25 SHA1 2fa7984e661c4bad389d8e74c10d89b17b4fc6fe SHA256 42a8571f4eab371c2dc3e39327f52a3f4a74f386105fe1e50ac95ab1aad447f3
+MISC ChangeLog 3208 RMD160 6f83048680deb5310306648591abe5a02b016fd2 SHA1 6c31c7aaa824f79c601b6f87bfa3467ec950206c SHA256 21f8707395b83e71fe486ae381403e2ec9fad4233b91364877c2fa3daa291c57
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkrzWk0ACgkQlPl3HsVfCDoHQQCfb66bcbtXrm9Er2HX/ywUN0wM
-YL8AnibQwv4bY1dnBwBxTlJPYJGJyI0F
-=bGO9
+iF4EAREIAAYFAkwdmMsACgkQTwhj9JtAlp69IwD+I2iCt3OlVDXfYbvn6Z7pB0T0
+hp40KhKV2m+8T6PM3CMBAJqBMfom9ga9lPXSyIJ5RZs04uazSEqdHXr4/+R/pJkR
+=P8Wf
-----END PGP SIGNATURE-----
diff --git a/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild
new file mode 100644
index 000000000000..93125f9508d0
--- /dev/null
+++ b/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2010 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.18.ebuild,v 1.1 2010/06/20 04:27:50 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/"
+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
+}