diff --git a/srcpkgs/powertop/template b/srcpkgs/powertop/template index 0b68a85e67..44e52d4c56 100644 --- a/srcpkgs/powertop/template +++ b/srcpkgs/powertop/template @@ -1,13 +1,18 @@ # Template file for 'powertop' pkgname=powertop -version=2.5 +version=2.6 revision=1 +wrksrc="${pkgname}" build_style=gnu-configure -hostmakedepends="pkg-config" +hostmakedepends="automake gettext-devel libtool pkg-config" makedepends="ncurses-devel pciutils-devel libnl3-devel" short_desc="Linux tool to find out what is using power on computer" maintainer="Juan RP " license="GPL-2" homepage="https://01.org/powertop/" -distfiles="http://01.org/powertop/sites/default/files/downloads/${pkgname}-${version}.tar.gz" -checksum=8b2c08a555d79e1c428863470c41cb023971d74ba4801d80a05e35adeec23c0b +distfiles="https://01.org/sites/default/files/downloads/powertop/powertop-${version}.tar.gz" +checksum=3024c2b13c8f32cdac0b0ea9359eb5668dc9bd11776cf063481daa878533d1ee + +pre_configure() { + ./autogen.sh +}