blob: 7f15b9e7ba263e4042de0e204d728c35ad77238e (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
SBIG_VERSION="2.1.0"
SBIG_SOVERSION="2"
inherit cmake-utils subversion
DESCRIPTION="Driver for the Santa Barbara Instruments Group line of CCDs & Filter Wheels"
HOMEPAGE="http://indilib.org"
ESVN_REPO_URI="svn://svn.code.sf.net/p/indi/code/trunk/3rdparty/${PN}"
ESVN_PROJECT="${P}"
LICENSE="sbig"
KEYWORDS=""
SLOT="0"
ESVN_PATCHES=( "${FILESDIR}/sbig-9999-fix-symlink.patch" )
src_unpack() {
subversion_src_unpack
}
src_install() {
cmake-utils_src_install
cd "${D}"/usr/lib || die
ln -snf libsbigudrv.so."${SBIG_VERSION}" libsbigudrv.so."${SBIG_SOVERSION}" || die
ln -snf libsbigudrv.so."${SBIG_SOVERSION}" libsbigudrv.so || die
}
|