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

EAPI=5

inherit cmake-utils

MY_PN="indi"
MY_PV="${PV/.0/}"

DESCRIPTION="Driver for the Santa Barbara Instruments Group line of CCDs & Filter Wheels"
HOMEPAGE="http://indilib.org"
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${MY_PV}.zip"

LICENSE="sbig"
KEYWORDS="~arm ~amd64 ~x86"

SLOT="0"

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

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

PATCHES=( "${FILESDIR}/libsbig-1.3.0_fix_cmake_symlinks.patch" )