1*4882a593SmuzhiyunSUMMARY = "Power usage tool" 2*4882a593SmuzhiyunDESCRIPTION = "Linux tool to diagnose issues with power consumption and power management." 3*4882a593SmuzhiyunHOMEPAGE = "https://01.org/powertop/" 4*4882a593SmuzhiyunBUGTRACKER = "https://app.devzing.com/powertopbugs/bugzilla" 5*4882a593SmuzhiyunDEPENDS = "ncurses libnl pciutils autoconf-archive" 6*4882a593SmuzhiyunLICENSE = "GPL-2.0-only" 7*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunSRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master \ 10*4882a593Smuzhiyun file://0001-wakeup_xxx.h-include-limits.h.patch \ 11*4882a593Smuzhiyun file://0001-src-fix-compatibility-with-ncurses-6.3.patch \ 12*4882a593Smuzhiyun " 13*4882a593SmuzhiyunSRCREV = "52f022f9bbe6e060fba11701d657a8d9762702ba" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunS = "${WORKDIR}/git" 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunLDFLAGS:append = " -pthread" 18*4882a593Smuzhiyun 19*4882a593Smuzhiyuninherit autotools gettext pkgconfig bash-completion 20*4882a593Smuzhiyun 21*4882a593Smuzhiyuninherit update-alternatives 22*4882a593SmuzhiyunALTERNATIVE:${PN} = "powertop" 23*4882a593SmuzhiyunALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop" 24*4882a593SmuzhiyunALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop" 25*4882a593SmuzhiyunALTERNATIVE_PRIORITY = "100" 26