Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 198437 Details for
Bug 271197
Add an ebuild for 64bit mingw and support for it in crossdev
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for mingw-w64 Win64 runtime headers and libraries.
mingw64-runtime-20090419.ebuild (text/plain), 1.36 KB, created by
Andy Getz
on 2009-07-18 22:06:31 UTC
(
hide
)
Description:
Ebuild for mingw-w64 Win64 runtime headers and libraries.
Filename:
MIME Type:
Creator:
Andy Getz
Created:
2009-07-18 22:06:31 UTC
Size:
1.36 KB
patch
obsolete
>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="Runtime headers, and libs for developing 64-bit Windows applications using gcc4" >HOMEPAGE="http://mingw-w64.sourceforge.net/" >SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64-snapshot-${PV}.tar.bz2" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~sparc ~x86" >IUSE="crosscompile_opts_headers-only" >RESTRICT="strip" > >DEPEND="" > >S="${WORKDIR}"/trunk/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_compile() { > just_headers && return 0 > > CHOST=${CTARGET} strip-unsupported-flags > econf --host=${CTARGET} || die > emake || die >} > >src_install() { > insinto /usr/${CTARGET}/usr/include > doins -r ../mingw-w64-headers/include/* || die > is_crosscompile && dosym usr /usr/${CTARGET}/mingw > is_crosscompile && dosym usr/include /usr/${CTARGET}/sys-include > just_headers && return 0 > local insdir > emake install DESTDIR="${D}" || die > env -uRESTRICT CHOST=${CTARGET} prepallstrip > rm -rf "${D}"/usr/doc > dodoc ChangeLog >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 271197
: 198437 |
198438