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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Sun Aug 10 20:20:00 2014 UTC (4 years, 2 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

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

  ViewVC Help
Powered by ViewVC 1.1.20