summaryrefslogtreecommitdiff
path: root/sci-libs/indilib-driver-gphoto/indilib-driver-gphoto-1.3.0.ebuild
blob: eb1d5e5f099afa102867845d4a401082d141ec76 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

MY_PN="${PN%%lib-driver-*}"
MY_PV="${PV/.0/}"

inherit cmake-utils eutils

DESCRIPTION="INDI driver for the gphoto2 compatible cameras"
HOMEPAGE="http://indilib.org"
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${MY_PV}.zip"

LICENSE="LGPL-2"
KEYWORDS="~amd64 ~x86"

SLOT="0"

DEPEND="<sci-libs/indilib-9999
	media-libs/libgphoto2[jpeg]
	media-gfx/dcraw
	dev-libs/pth"

RDEPEND="${DEPEND}"

INDI_TARGET_DIRECTORY="${PN%%lib-driver-*}${PN##*-driver}"

S="${WORKDIR}/${MY_PN}-${MY_PV}/3rdparty/${INDI_TARGET_DIRECTORY}"