/[gentoo-x86]/sys-devel/parity/parity-1.2.6.ebuild
Gentoo

Contents of /sys-devel/parity/parity-1.2.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jan 17 10:57:50 2013 UTC (2 years, 2 months ago) by haubi
Branch: MAIN
Revbump, bug#450574, with patch to not abort on fatal exception when debugger is present. No point in having the x86-winnt keyword. Prevent live keywords from ekeyword.

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key A630CCB8)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/parity/parity-1.2.5.ebuild,v 1.1 2012/03/12 16:07:46 haubi Exp $
4
5 EAPI=4
6
7 inherit eutils
8
9 if [[ ${PV} == 9999 ]]; then
10 inherit subversion
11 ESVN_REPO_URI="https://parity.svn.sf.net/svnroot/parity/trunk"
12 ESVN_BOOTSTRAP="confix --bootstrap"
13 ESVN_PROJECT="${PN}"
14 : ${KEYWORDS=""}
15
16 DEPEND="dev-util/confix"
17 else
18 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
19 KEYWORDS="~x86-interix"
20 fi
21 DESCRIPTION="An Interix to native Win32 Cross-Compiler Tool (requires Visual Studio)."
22 HOMEPAGE="http://www.sourceforge.net/projects/parity/"
23
24 LICENSE="LGPL-3"
25 SLOT="0"
26 IUSE=""
27
28 pkg_setup() {
29 if [ -z "${MSSDK}" ]; then
30 einfo "NOTE: When using Visual Studio 2008, the Platform SDK is no longer"
31 einfo "installed alongside with the other components, but has it's own"
32 einfo "root directory, most likely something like this:"
33 einfo ""
34 einfo " C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A"
35 einfo ""
36 einfo "To make parity find it's paths correctly, please set MSSDK to the"
37 einfo "value correspoding to the above example for your system."
38 fi
39 }
40
41 src_prepare() {
42 epatch "${FILESDIR}"/${P}-debugging.patch
43 }
44
45 src_install() {
46 emake DESTDIR="${D}" install || die "emake install failed"
47
48 # create i586-pc-winnt*-g[++|cc|..] links..
49 local exeext=
50
51 [[ -f ${ED}/usr/bin/parity.gnu.gcc.exe ]] && exeext=.exe
52
53 # create cross compiler syms
54 dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-gcc
55 dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-c++
56 dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-g++
57 dosym /usr/bin/parity.gnu.ld${exeext} /usr/bin/i586-pc-winnt$(uname -r)-ld
58
59 # we don't need the header files installed by parity... private
60 # header files are supported with a patch from 2.1.0-r1 onwards,
61 # so they won't be there anymore, but -f does the job in any case.
62 rm -f "${ED}"/usr/include/*.h
63 }

  ViewVC Help
Powered by ViewVC 1.1.20