diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-09 00:34:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-09 00:34:36 +0000 |
commit | 22b8ebb09752f53b579ac39a92c19e22058e9c73 (patch) | |
tree | 3b202c7af1de7e0f50fe7564efd252425b7b997d /dev-util | |
parent | Removed mask for =mail-client/claws-mail-2.7.0 (diff) | |
download | gentoo-2-22b8ebb09752f53b579ac39a92c19e22058e9c73.tar.gz gentoo-2-22b8ebb09752f53b579ac39a92c19e22058e9c73.tar.bz2 gentoo-2-22b8ebb09752f53b579ac39a92c19e22058e9c73.zip |
Version bump #161009 by Dennis Schridde.
(Portage version: 2.1.2_rc4-r7)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/w32api/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/w32api/files/digest-w32api-3.8 | 3 | ||||
-rw-r--r-- | dev-util/w32api/w32api-3.8.ebuild | 63 |
3 files changed, 73 insertions, 2 deletions
diff --git a/dev-util/w32api/ChangeLog b/dev-util/w32api/ChangeLog index d523ab1b0641..99d86e040f81 100644 --- a/dev-util/w32api/ChangeLog +++ b/dev-util/w32api/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/w32api -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.2 2006/09/23 11:19:40 vapier Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.3 2007/01/09 00:34:36 vapier Exp $ + +*w32api-3.8 (09 Jan 2007) + + 09 Jan 2007; Mike Frysinger <vapier@gentoo.org> +w32api-3.8.ebuild: + Version bump #161009 by Dennis Schridde. 23 Sep 2006; Mike Frysinger <vapier@gentoo.org> w32api-3.7.ebuild: Make sure we strip with the target toolchain #148437. diff --git a/dev-util/w32api/files/digest-w32api-3.8 b/dev-util/w32api/files/digest-w32api-3.8 new file mode 100644 index 000000000000..70a7c78d69ec --- /dev/null +++ b/dev-util/w32api/files/digest-w32api-3.8 @@ -0,0 +1,3 @@ +MD5 f38604492ba27c914d527a07cb5c164a w32api-3.8-src.tar.gz 1182352 +RMD160 b02254438d76bcc7f39cc0dd6abc8e868748d520 w32api-3.8-src.tar.gz 1182352 +SHA256 925375a8c3bd380374fb9906fecdc48728510215f9cdd43f05d72596512129b0 w32api-3.8-src.tar.gz 1182352 diff --git a/dev-util/w32api/w32api-3.8.ebuild b/dev-util/w32api/w32api-3.8.ebuild new file mode 100644 index 000000000000..b804c720611d --- /dev/null +++ b/dev-util/w32api/w32api-3.8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/w32api-3.8.ebuild,v 1.1 2007/01/09 00:34:36 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 eutils flag-o-matic + +DESCRIPTION="Free Win32 runtime and import library definitions" +HOMEPAGE="http://www.mingw.org/" +SRC_URI="mirror://sourceforge/mingw/${P}-src.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" +RESTRICT="strip" + +DEPEND="" + +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}" + epatch "${FILESDIR}"/${PN}-3.7-DESTDIR.patch +} + +src_compile() { + just_headers && return 0 + + CHOST=${CTARGET} strip-unsupported-flags + econf \ + --host=${CTARGET} \ + --prefix=/usr/${CTARGET}/usr \ + || die + emake || die +} + +src_install() { + if just_headers ; then + insinto /usr/${CTARGET}/usr/include + doins -r include/* || die + else + emake install DESTDIR="${D}" || die + env -uRESTRICT CHOST=${CTARGET} prepallstrip + dodoc CONTRIBUTIONS ChangeLog README.w32api TODO + fi +} |