Source

belak.gentoo / x11-misc / easystroke / easystroke-0.5.4.ebuild

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="Easystroke is a gesture-recognition application for X11."
HOMEPAGE="http://easystroke.wiki.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

RDEPEND="dev-cpp/gtkmm
	x11-libs/libXrandr
	x11-apps/xinput
	x11-libs/libXtst
	dev-libs/boost
	dev-libs/dbus-glib"
DEPEND="${RDEPEND}
	dev-util/intltool"

src_compile() {
	sed -i "s/^LDFLAGS/#LDFLAGS/" Makefile || die "sed Makefile failed!"
	sed -i "s!^Icon=easystroke!Icon=/usr/share/icons/hicolor/scalable/apps/easystroke.svg!" easystroke.desktop.in || die "sed easystroke.desktop.in failed!"
	emake DESTDIR="${D}" PREFIX="/usr/" || die "emake failed!"
}

src_install() {
	emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed!"
}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.