diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-10-05 17:50:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-10-05 17:50:36 +0000 |
commit | 6bf86fc08c4a98d19acf04be21a5746892e66fc4 (patch) | |
tree | 6296b66fbe18f09fbf17a96fd24afaf8db72a171 /dev-util/mingw-runtime | |
parent | Add missing multilib inherit line. (diff) | |
download | historical-6bf86fc08c4a98d19acf04be21a5746892e66fc4.tar.gz historical-6bf86fc08c4a98d19acf04be21a5746892e66fc4.tar.bz2 historical-6bf86fc08c4a98d19acf04be21a5746892e66fc4.zip |
Version bump.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.2 x86_64
Diffstat (limited to 'dev-util/mingw-runtime')
-rw-r--r-- | dev-util/mingw-runtime/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/mingw-runtime/Manifest | 10 | ||||
-rw-r--r-- | dev-util/mingw-runtime/mingw-runtime-3.15.1.ebuild | 81 |
3 files changed, 94 insertions, 5 deletions
diff --git a/dev-util/mingw-runtime/ChangeLog b/dev-util/mingw-runtime/ChangeLog index ebb96519ad33..e4fc66b23d3a 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/ChangeLog,v 1.13 2008/09/17 09:36:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/ChangeLog,v 1.14 2008/10/05 17:50:36 vapier Exp $ + +*mingw-runtime-3.15.1 (05 Oct 2008) + + 05 Oct 2008; Mike Frysinger <vapier@gentoo.org> + +mingw-runtime-3.15.1.ebuild: + Version bump. 17 Sep 2008; Mike Frysinger <vapier@gentoo.org> files/mingw-runtime-3.12-DESTDIR.patch: diff --git a/dev-util/mingw-runtime/Manifest b/dev-util/mingw-runtime/Manifest index c4f8ef33af80..4836ea493c05 100644 --- a/dev-util/mingw-runtime/Manifest +++ b/dev-util/mingw-runtime/Manifest @@ -4,14 +4,16 @@ Hash: SHA1 AUX mingw-runtime-3.12-DESTDIR.patch 577 RMD160 2747b5cff36430c6a6dc8b283e85cc4ee4d0e9b9 SHA1 1683bc0ef3e98a7fff4a7ec798730ec582445045 SHA256 aad3d91b2b9340e11527d068160b87f47d94f9fc1076b976086224a194cafe67 DIST mingw-runtime-3.14-src.tar.gz 397183 RMD160 9557df1bb6869734194a8d48d188763834ae6ff7 SHA1 af6033a948ee93938da60e5c5fc51759b3475985 SHA256 a145a90d0824c65cfc11c3fc843ba484585983e1e8ee14b79f4d09cf1d38b98b DIST mingwrt-3.15-mingw32-src.tar.gz 426350 RMD160 8996dfe148c9b002d04e9f9a50b0baeb1c2e3427 SHA1 b7f0211fe4df324b6e6a374b3399db96d0c879bb SHA256 81080843e20c5aee619475c7a0d5f293cdd491c5d03f81a146d71fc53a06ee80 +DIST mingwrt-3.15.1-mingw32-src.tar.gz 427412 RMD160 a23cb59729fe8aa9ca7bea5299a54e479e60c9da SHA1 26d7a1f45d379faebe76adcf6b052e0ef634c70d SHA256 4f4d19f3e15fdf00957932211be609b6bf4e689ad5938ce7bff666a638bde0e7 EBUILD mingw-runtime-3.14.ebuild 2160 RMD160 a194576fe1ad74d06eb2856c9786ff55e73e3e66 SHA1 5714fe123777e5b12b383055acd526915e7c6527 SHA256 593022ac7d12e2fc6d3787a283a4b12605c8b8fc03143de0a552e2e4042920ca +EBUILD mingw-runtime-3.15.1.ebuild 2174 RMD160 00105b487a3c7ee2261aece89d3a5ed39b877e8d SHA1 427bfce6fb4ce72e9188bb52a20acaa27fdf780d SHA256 9f9cd0ace9d9bf5e7227d942177ca58c84418caf6f4d8a33c0e384ad0e99eef1 EBUILD mingw-runtime-3.15.ebuild 2172 RMD160 5e8e29fe347f38ca3a8451abc2caed5ae98b9525 SHA1 9af0b76cec7dd5f8d2471634e9114e44c8609ec9 SHA256 e94179a3786ba215a0d077a5c2dfb4a73cebed1b544b878672a41bc76e4076c0 -MISC ChangeLog 2334 RMD160 d12d52c3da2677f452a0c7df84e92170ff835045 SHA1 4526c67787e7b1e3a8087b441f951048fe6bdc23 SHA256 d5b3e4ac6b9f68d77786df9ca6511e7fcb6414fec5cd43f569c4cd2f95bbddd9 +MISC ChangeLog 2470 RMD160 c162f72ebae7d052e7685f74b91259b5da8a2119 SHA1 e603a7e2590c3d1e79e10c2b1e7e3c60d1c03705 SHA256 bbca377bb5f30e181e8c98d405ab7c4ce7e002efca12a7c91d888c9e653024f1 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkjQz7oACgkQ67wieSYcaxewMwCdFSG9Ra90EsKU/KoTvWUVXi8X -zoYAoMFBNl6d23FaICZQXNmp4as0pjQe -=sZ51 +iEYEARECAAYFAkjo/nEACgkQ67wieSYcaxeerACePgqwD2mk3/lHnNjHrm+jwPpk +NTMAoJvOm3Xcq2as3DkD4cpA7wQFzjJB +=F1+r -----END PGP SIGNATURE----- diff --git a/dev-util/mingw-runtime/mingw-runtime-3.15.1.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.15.1.ebuild new file mode 100644 index 000000000000..5f99833658cd --- /dev/null +++ b/dev-util/mingw-runtime/mingw-runtime-3.15.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2008 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.15.1.ebuild,v 1.1 2008/10/05 17:50: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 + +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" + +DEPEND="" + +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 + epatch "${FILESDIR}"/${PN}-3.12-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 +} |