# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit git DESCRIPTION="Easystroke is a gesture-recognition application for X11." LICENSE="ISC" SLOT="0" IUSE="" HOMEPAGE="http://sourceforge.net/apps/trac/easystroke/" EGIT_REPO_URI="git://github.com/thjaeger/easystroke.git" EGIT_COMMIT="52d9ccc01fd9e005be24441f97dfb00f6515e322" SRC_URI="" KEYWORDS="~x86 ~amd64" DEPEND="dev-libs/boost:1.42 dev-cpp/gtkmm:2.4 >=x11-libs/libXtst-1.1.0 dev-libs/dbus-glib x11-apps/xinput x11-libs/libXrandr " RDEPEND="${DEPEND}" src_unpack() { git_src_unpack } src_compile() { emake || die "died running emake in easystroke" make man } src_install() { make DESTDIR="${D}" PREFIX="/usr" install || die "make install failed" manDir="${D}/usr/share/man/man1" mkdir -p "${manDir}" bzip2 -c ${PN}.1 >${manDir}/${PN}.1.bz2 }