diff options
author | Ctibor <ctibor.brancik@seznam.cz> | 2015-11-24 19:25:49 +0100 |
---|---|---|
committer | Ctibor <ctibor.brancik@seznam.cz> | 2015-11-24 19:25:49 +0100 |
commit | 39712cbc4149cae55f4aea380372fd5bb31b807e (patch) | |
tree | 863c3eca32d9eddac17388468b5a705412ed5769 /sci-libs/indilib/indilib-1.1.0.ebuild | |
parent | 05c1303803b2408d446a876a4e1620a0e27d65ad (diff) | |
download | brancik-overlay-39712cbc4149cae55f4aea380372fd5bb31b807e.tar.gz brancik-overlay-39712cbc4149cae55f4aea380372fd5bb31b807e.tar.bz2 |
Bump sci-libs/indilib and sci-libs/indilib-drivers-*.
Diffstat (limited to 'sci-libs/indilib/indilib-1.1.0.ebuild')
-rw-r--r-- | sci-libs/indilib/indilib-1.1.0.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/sci-libs/indilib/indilib-1.1.0.ebuild b/sci-libs/indilib/indilib-1.1.0.ebuild new file mode 100644 index 0000000..974d7ee --- /dev/null +++ b/sci-libs/indilib/indilib-1.1.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/indilib-0.9.9.ebuild,v 1.5 2014/11/28 14:09:42 ago Exp $ + +EAPI=5 + +MY_PN="lib${PN/lib/}" + +inherit cmake-utils udev user + +DESCRIPTION="INDI Astronomical Control Protocol library" +HOMEPAGE="http://www.indilib.org/" +SRC_URI="mirror://sourceforge/${PN/lib/}/${MY_PN}_${PV}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="drivers" + +RDEPEND=" + sci-libs/cfitsio + sci-libs/libnova + sci-libs/gsl + sys-libs/zlib + virtual/jpeg:0 + virtual/libusb:1 +" +DEPEND="${RDEPEND} + sys-kernel/linux-headers + drivers? ( sci-libs/indilib-drivers ) +" + +DOCS=( AUTHORS ChangeLog README TODO ) + +PATCHES=( + "${FILESDIR}/${PN}-0.9.8.1-symlinks.patch" +) + +S=${WORKDIR}/${MY_PN}-${PV} + +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." +} |