summaryrefslogtreecommitdiff
path: root/sci-libs/libqhy/libqhy-9999.ebuild
diff options
context:
space:
mode:
authorCtibor <ctibor.brancik@seznam.cz>2015-02-14 18:43:12 +0100
committerCtibor <ctibor.brancik@seznam.cz>2015-02-14 18:43:12 +0100
commit7262971efaca6770011fb72fb1097c0c941ae157 (patch)
tree27aceae912c7ea2b0a28865d37eab3d34e08be93 /sci-libs/libqhy/libqhy-9999.ebuild
parent66a16be2c2043770c5d5dfb1e329e0ac28f1c6bf (diff)
downloadbrancik-overlay-7262971efaca6770011fb72fb1097c0c941ae157.tar.gz
brancik-overlay-7262971efaca6770011fb72fb1097c0c941ae157.tar.bz2
sci-libs/libqhy now needs patch for CMakeLists.txt and src_isntall hack to install library symlinks properly.
Package-Manager: portage-2.2.14
Diffstat (limited to 'sci-libs/libqhy/libqhy-9999.ebuild')
-rw-r--r--sci-libs/libqhy/libqhy-9999.ebuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-libs/libqhy/libqhy-9999.ebuild b/sci-libs/libqhy/libqhy-9999.ebuild
index 977e8eb..9914e4c 100644
--- a/sci-libs/libqhy/libqhy-9999.ebuild
+++ b/sci-libs/libqhy/libqhy-9999.ebuild
@@ -4,6 +4,9 @@
EAPI=5
+LIBQHY_VERSION="0.1.1"
+LIBQHY_SOVERSION="0"
+
inherit cmake-utils subversion eutils
DESCRIPTION="SDK and firmware for the QHY CCD cameras"
@@ -16,6 +19,8 @@ KEYWORDS=""
SLOT="0"
+ESVN_PATCHES=( "${FILESDIR}/libqhy-9999_fix_cmake_symlink.patch" )
+
DEPEND="virtual/libusb:1
media-libs/opencv"
@@ -23,4 +28,11 @@ RDEPEND="${DEPEND}"
src_unpack() {
subversion_src_unpack
+}
+
+src_install() {
+ cmake-utils_src_install
+ cd "${D}"/usr/lib || die
+ ln -snf libqhy.so."${LIBQHY_VERSION}" libqhy.so."${LIBQHY_SOVERSION}" || die
+ ln -snf libqhy.so."${LIBQHY_SOVERSION}" libqhy.so || die
} \ No newline at end of file