summaryrefslogtreecommitdiff
path: root/sci-libs/sbig/sbig-1.0.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/sbig/sbig-1.0.0.ebuild')
-rw-r--r--sci-libs/sbig/sbig-1.0.0.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/sci-libs/sbig/sbig-1.0.0.ebuild b/sci-libs/sbig/sbig-1.0.0.ebuild
new file mode 100644
index 0000000..78db00e
--- /dev/null
+++ b/sci-libs/sbig/sbig-1.0.0.ebuild
@@ -0,0 +1,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.tar.gz"
+
+LICENSE="sbig"
+KEYWORDS="~arm ~amd64 ~x86"
+
+SLOT="0"
+
+S="${WORKDIR}/libindi_3rdparty/${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
+} \ No newline at end of file