blob: db350205ff676182c2397642c6ddbe1c8ab6ff2a (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/indilib-0.7.2.ebuild,v 1.6 2011/10/30 15:47:38 ssuominen Exp $
EAPI=3
inherit qt4-r2
DESCRIPTION="Simple astronomical CCD controller"
HOMEPAGE="http://sourceforge.net/projects/cccd/"
SRC_URI="http://downloads.sourceforge.net/project/cccd/${PN}/${PV}/${PN}-${PV}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-libs/libusb:1
sys-apps/fxload
media-libs/libgphoto2
>=media-libs/libraw-0.9.1
media-libs/tiff
media-libs/lcms
>=x11-libs/qt-core-4.6
>=x11-libs/qt-gui-4.6
sci-libs/libqhy
"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}"
src_compile() {
qt4-r2_src_compile
cd ${S}/shutter_procs/
make
cd ${S}
}
src_install() {
dobin ccd
dobin shutter_procs/shutter
exeinto /usr/bin
doexe utils/qhy6reset.sh
doexe utils/qhy8reset.sh
doexe utils/qhy8lreset.sh
doexe utils/qhy9reset.sh
dodoc readme
dodoc readme.en
dodoc readme.ru
}
|