# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="4" inherit eutils git-2 autotools DESCRIPTION="GPS control software for Mobile Broadband Modules (mbm)" HOMEPAGE="http://sourceforge.net/apps/mediawiki/mbm/index.php?title=MBM" LICENSE="GPL-2" EGIT_REPO_URI="git://mbm.git.sourceforge.net/gitroot/mbm/${PN}" EGIT_BRANCH="master" SLOT="git" KEYWORDS="~x86 ~amd64" LICENSE="GPL-2" IUSE="" RDEPEND="sys-fs/udev" DEPEND="${RDEPEND}" src_prepare() { make -f Makeversion eautoreconf } src_configure() { econf } src_install() { emake DESTDIR="${D}" install doman man/*.1 } pkg_postinst() { udevadm control --reload-rules && udevadm trigger --subsystem-match=usb }