diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-11-19 08:25:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-11-19 08:25:25 +0000 |
commit | 391533366166e4a47d31cf4ff3b4fa3be05486fe (patch) | |
tree | 5fecb76499af9dcdb8ac105a6fd09dc686042079 /dev-util/mingw64-runtime | |
parent | Version bump for beta channel release. Remove old. (diff) | |
download | historical-391533366166e4a47d31cf4ff3b4fa3be05486fe.tar.gz historical-391533366166e4a47d31cf4ff3b4fa3be05486fe.tar.bz2 historical-391533366166e4a47d31cf4ff3b4fa3be05486fe.zip |
old
Diffstat (limited to 'dev-util/mingw64-runtime')
-rw-r--r-- | dev-util/mingw64-runtime/mingw64-runtime-20100604.ebuild | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/dev-util/mingw64-runtime/mingw64-runtime-20100604.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-20100604.ebuild deleted file mode 100644 index 17b3b2b3c0dd..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-20100604.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# 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-20100604.ebuild,v 1.1 2010/06/22 03:35:10 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 -} |