# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit git autotools DESCRIPTION="The FreeSmartPhone.org terminal emulator written in vala." HOMEPAGE="http://www.freesmartphone.org/" EGIT_REPO_URI="git://git.freesmartphone.org/vala-terminal.git" EGIT_TREE="tags/1.1.1" EGIT_PROJECT="vala-terminal" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~arm" DOCS="README" RDEPEND=">=x11-libs/vte-0.16.9 >=x11-libs/gtk+-2.10.0 >=dev-libs/glib-2.12.0" DEPEND="${RDEPEND} dev-lang/vala" src_unpack() { # Fetch and unpack current git sources git_src_unpack cd "${S}" eautoreconf || die "autoreconf failed" glib-gettextize --force --copy || die "glib-gettextize failed" intltoolize --force || die "intltoolize failed" } src_compile() { econf || die if tc-is-cross-compiler; then emake CC=$(tc-getCC) || die else emake || die fi } src_install() { emake DESTDIR="${D}" install || die "emake failed" }