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/dev-libs/granite/granite-0.1.0.ebuild

39 lines
958 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/granite/granite-0.1.0.ebuild,v 1.2 2012/05/04 18:35:49 jdhore Exp $
EAPI=4
inherit cmake-utils multilib
MY_vala_version=0.14
DESCRIPTION="A development library for elementary development"
HOMEPAGE="http://launchpad.net/granite"
SRC_URI="http://launchpad.net/${PN}/${PV%.*.*}.x/${PV%.*}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-libs/glib-2
dev-libs/gobject-introspection
dev-libs/libgee:0
x11-libs/gtk+:3"
DEPEND="${RDEPEND}
dev-lang/vala:${MY_vala_version}
virtual/pkgconfig
sys-devel/gettext"
DOCS=( AUTHORS )
src_prepare() {
sed -i -e "/NAMES/s:valac:&-${MY_vala_version}:" cmake/FindVala.cmake || die
sed -i -e "/DESTINATION/s:lib:$(get_libdir):" lib/CMakeLists.txt || die
}
src_install() {
cmake-utils_src_install
dohtml -r doc/*
}