blob: 7300cac19deab3de080a022a8ca2d4d415dab1a5 (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit cmake-utils
DESCRIPTION="Driver for the Santa Barbara Instruments Group line of CCDs & Filter Wheels"
HOMEPAGE="http://indilib.org"
SRC_URI="http://sourceforge.net/projects/indi/files/libindi_3rdparty_${PV}.tar.gz"
LICENSE="sbig"
KEYWORDS="~arm ~amd64 ~x86"
SLOT="0"
S="${WORKDIR}/libindi_3rdparty_${PV}/${PN}"
PATCHES=( "${FILESDIR}/sbig-0.9.9-fix-symlink.patch" )
src_install() {
cmake-utils_src_install
cd "${D}"/usr/lib || die
ln -snf libsbigudrv.so.2.0.2 libsbigudrv.so.2 || die
ln -snf libsbigudrv.so.2 libsbigudrv.so || die
}
|