summaryrefslogtreecommitdiff
path: root/sci-astronomy/open-phd-guiding/open-phd-guiding-2.9999.ebuild
blob: 0093f2939cd0bff15a245d3b451c985f8a632f3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit subversion cmake-utils wxwidgets

DESCRIPTION="Astrophoto guiding software"
HOMEPAGE="http://code.google.com/p/open-phd-guiding/"
ESVN_REPO_URI="http://${PN}.googlecode.com/svn/trunk"
ESVN_PROJECT="${PN}/trunk"

LICENSE="GPL-2"
KEYWORDS=""

SLOT="2"

DEPEND="x11-libs/wxGTK:3.0[X]
	virtual/libusb:1
	sci-libs/cfitsio
	media-libs/opencv"

RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/open-phd-guiding-2.9999-remove_compiler_strict_warnings.patch" "${FILESDIR}/open-phd-guiding-2.9999-build_helper_script.patch" )

src_unpack() {
	subversion_src_unpack
}

src_install() {
  /bin/sh ${S}/build/build_help.sh
  dohtml -r ${S}/help
  rm ${S}/locale/fr_FR/PHD2GuideHelp.zip
  dodoc PHD_2.0_Architecture.docx
  cmake-utils_src_install
}