/[gentoo-x86]/sci-geosciences/opencpn/opencpn-2.5.0.ebuild
Gentoo

Contents of /sci-geosciences/opencpn/opencpn-2.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jul 31 14:25:54 2011 UTC (9 years, 4 months ago) by scarabeus
Branch: MAIN
Version bump to latest. Drop older.

(Portage version: 2.2.0_alpha49/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/opencpn/opencpn-2.3.1.ebuild,v 1.3 2011/06/15 08:57:04 scarabeus Exp $
4
5 EAPI=4
6
7 WX_GTK_VER="2.8"
8 MY_P=OpenCPN-${PV}-Source
9 inherit cmake-utils wxwidgets
10
11 DESCRIPTION="a free, open source software for marine navigation"
12 HOMEPAGE="http://opencpn.org/"
13 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="gpsd"
19
20 RDEPEND="
21 app-arch/bzip2
22 dev-libs/tinyxml
23 media-libs/freetype:2
24 sys-libs/zlib
25 virtual/opengl
26 x11-libs/gtk+:2
27 >=x11-libs/wxGTK-2.8.8[X]
28 gpsd? ( >=sci-geosciences/gpsd-2.90 )
29 "
30 DEPEND="${DEPEND}
31 sys-devel/gettext"
32
33 S="${WORKDIR}/${MY_P}"
34
35 PATCHES=(
36 "${FILESDIR}/${P}-multilib-strict.patch"
37 )
38
39 src_configure() {
40 local mycmakeargs=(
41 $(cmake-utils_use_use gpsd GPSD)
42 -DUSE_S57=ON
43 -DUSE_GARMINHOST=ON
44 -DUSE_WIFI_CLIENT=OFF
45 )
46
47 cmake-utils_src_configure
48 }

  ViewVC Help
Powered by ViewVC 1.1.20