# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit cmake-utils DESCRIPTION="Userland applications for the Roccat Kone mouse." HOMEPAGE="http://roccat.sourceforge.net" RESTRICT="mirror" SRC_URI="mirror://sourceforge/roccat/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="sys-libs/roccat x11-libs/gtk+ dev-libs/libunique dev-libs/dbus-glib virtual/libusb" RDEPEND="${DEPEND}" pkg_preinst() { mv ${D}/etc/udev/rules.d/60-roccat-${PN}.rules \ ${D}/etc/udev/rules.d/90-roccat-${PN}.rules \ || die "Renaming udev rule file failed" enewgroup roccat } pkg_postinst() { einfo "In order to use ${PN}gui," einfo "you must be into the roccat group." }