You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/indilib/indilib-0.9.5.ebuild

44 lines
950 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/indilib-0.9.5.ebuild,v 1.1 2012/09/01 18:00:22 scarabeus Exp $
EAPI=4
MY_PN="lib${PN/lib/}"
inherit cmake-utils
DESCRIPTION="INDI Astronomical Control Protocol library"
HOMEPAGE="http://indi.sourceforge.net/index.php/Main_Page"
SRC_URI="mirror://sourceforge/${PN/lib/}/${MY_PN}_${PV}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="nova v4l"
RDEPEND="
>=sci-libs/cfitsio-3.140
sys-libs/zlib
virtual/libusb:0
nova? ( >=sci-libs/libnova-0.12.1 )
"
DEPEND="${RDEPEND}
v4l? ( >=sys-kernel/linux-headers-2.6 )
"
DOCS=( AUTHORS ChangeLog README README.drivers TODO )
PATCHES=(
"${FILESDIR}/0.9.1-fix_symlinks.patch"
)
S=${WORKDIR}/${MY_PN}-${PV}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_with nova)
)
cmake-utils_src_configure
}