# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=4 inherit eutils linux-mod DESCRIPTION="provides Linux users with functionality similar to Samsung Easy Speed Up Manager" HOMEPAGE="https://code.google.com/p/easy-slow-down-manager/" SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" LICENSE="GPL-1" SLOT="0" KEYWORDS="amd64 x86" IUSE="" S=${WORKDIR} BUILD_TARGETS="all" MODULE_NAMES="samsung-backlight() easy_slow_down_manager()" src_prepare() { get_version if kernel_is -ge 3 10; then epatch "${FILESDIR}"/${P}-kernel-3.10-1.patch fi epatch "${FILESDIR}"/${P}-kv_dir.patch } src_compile() { BUILD_PARAMS="KERN_DIR=${KV_DIR}" linux-mod_src_compile }