summaryrefslogtreecommitdiff
path: root/sci-libs/indilib/indilib-1.4.1.ebuild
diff options
context:
space:
mode:
authorCtibor Brančík <ctibor@brancik.cz>2017-02-27 19:10:24 +0100
committerCtibor Brančík <ctibor@brancik.cz>2017-02-27 19:10:24 +0100
commit4f68aed2e05d5b81472fa2a5d17c29dfa5e87ecf (patch)
tree95af4fba7a7e3f9e214b2978287274ff93ebc3e4 /sci-libs/indilib/indilib-1.4.1.ebuild
parent153095b71db9c83945c3303414381ed40ea73042 (diff)
downloadbrancik-overlay-4f68aed2e05d5b81472fa2a5d17c29dfa5e87ecf.tar.gz
brancik-overlay-4f68aed2e05d5b81472fa2a5d17c29dfa5e87ecf.tar.bz2
Bump sci-libs/indilib and drivers to the new version.
Diffstat (limited to 'sci-libs/indilib/indilib-1.4.1.ebuild')
-rw-r--r--sci-libs/indilib/indilib-1.4.1.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/sci-libs/indilib/indilib-1.4.1.ebuild b/sci-libs/indilib/indilib-1.4.1.ebuild
new file mode 100644
index 0000000..d686d72
--- /dev/null
+++ b/sci-libs/indilib/indilib-1.4.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="${PN/lib/}"
+
+inherit cmake-utils udev user
+
+DESCRIPTION="INDI Astronomical Control Protocol library"
+HOMEPAGE="http://www.indilib.org/"
+SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/v${PV}/lib${MY_PN}_${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1+ BSD GPL-2+ LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="drivers qt5"
+
+RDEPEND="
+ sci-libs/cfitsio
+ sci-libs/libnova
+ sci-libs/gsl
+ sys-libs/zlib
+ virtual/jpeg:0
+ virtual/libusb:1
+ dev-libs/pth
+ net-misc/curl
+ qt5? ( >=dev-qt/qtnetwork-5.6.2 )
+"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers
+ drivers? ( sci-libs/indilib-drivers )
+"
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+S=${WORKDIR}/${MY_PN}-${PV}/libindi
+
+src_configure() {
+ local mycmakeargs=(
+ -DUDEVRULES_INSTALL_DIR=$(get_udevdir)/rules.d
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ newinitd "${FILESDIR}/indiserver.sh" indiserver
+ newconfd "${FILESDIR}/indiserver.conf" indiserver
+}
+
+pkg_postinst() {
+ enewuser indiserver -1 -1 -1 "usb,uucp,video" -U
+ elog "You can use init script in /etc/init.d/indiserver to start"
+ elog "indiserver automatically."
+ elog "Configuration is in /etc/conf.d/indiserver."
+}