Commit e72fdbe8 authored by Natanael Copa's avatar Natanael Copa

main/cpufrequtils: upgrade to 007

parent f2ee71dc
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cpufrequtils pkgname=cpufrequtils
pkgver=006 pkgver=007
pkgrel=0 pkgrel=0
pkgdesc="Userspace tools for the kernel cpufreq subsystem" pkgdesc="Userspace tools for the kernel cpufreq subsystem"
url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
...@@ -9,7 +9,6 @@ subpackages="$pkgname-dev $pkgname-doc" ...@@ -9,7 +9,6 @@ subpackages="$pkgname-dev $pkgname-doc"
depends="sysfsutils" depends="sysfsutils"
makedepends="sysfsutils-dev libtool" makedepends="sysfsutils-dev libtool"
source="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$pkgname-$pkgver.tar.bz2 source="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$pkgname-$pkgver.tar.bz2
cpufrequtils-005-build.patch
cpufrequtils-006-nls.patch cpufrequtils-006-nls.patch
$pkgname.initd $pkgname.initd
$pkgname.confd" $pkgname.confd"
...@@ -38,8 +37,7 @@ package() { ...@@ -38,8 +37,7 @@ package() {
install -D -m755 ../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -D -m755 ../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -D -m644 ../$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname install -D -m644 ../$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
} }
md5sums="124b0de8f3a4d672539a85ce13eed869 cpufrequtils-006.tar.bz2 md5sums="fdd833ce70a9ae40ae8bce5b18f2becf cpufrequtils-007.tar.bz2
0b007dbd9fcb3acf55a8570f21b2f5d4 cpufrequtils-005-build.patch
aa4c6f19766a741a68ae1ad352c6bad9 cpufrequtils-006-nls.patch aa4c6f19766a741a68ae1ad352c6bad9 cpufrequtils-006-nls.patch
b9b80ef2f1b6c5e7ce0476037a8bce6b cpufrequtils.initd b9b80ef2f1b6c5e7ce0476037a8bce6b cpufrequtils.initd
d47ff635eef03248c633486eaeec191d cpufrequtils.confd" d47ff635eef03248c633486eaeec191d cpufrequtils.confd"
--- a/Makefile
+++ b/Makefile
@@ -158,10 +158,10 @@ endif
# if DEBUG is enabled, then we do not strip or optimize
ifeq ($(strip $(DEBUG)),true)
- CFLAGDEF += -O1 -g -DDEBUG
+ CFLAGDEF += -DDEBUG
STRIPCMD = /bin/true -Since_we_are_debugging
else
- CFLAGDEF += $(OPTIMIZATION) -fomit-frame-pointer
+ CFLAGDEF += $(OPTIMIZATION)
STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment
endif
@@ -191,7 +191,7 @@ libcpufreq: libcpufreq.la
cpufreq-%: libcpufreq.la $(UTIL_OBJS)
$(QUIET) $(CC) $(CFLAGDEF) $(CFLAGS) -g -I. -I./lib/ -c -o utils/$@.o utils/$*.c
- $(QUIET) $(CC) $(CFLAGDEF) $(CFLAGS) -g -I./lib/ -L. -L./.libs/ -lcpufreq -o $@ utils/$@.o
+ $(QUIET) $(CC) $(CFLAGDEF) $(CFLAGS) -g $(LDFLAGS) -I./lib/ -L. -L./.libs/ -o $@ utils/$@.o -lcpufreq
$(QUIET) $(STRIPCMD) $@
utils: cpufreq-info cpufreq-set
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment