summaryrefslogtreecommitdiffstats
path: root/main/cpufreqd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/cpufreqd/APKBUILD')
-rw-r--r--main/cpufreqd/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/cpufreqd/APKBUILD b/main/cpufreqd/APKBUILD
index e28084dd2..803914dd2 100644
--- a/main/cpufreqd/APKBUILD
+++ b/main/cpufreqd/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cpufreqd
pkgver=2.4.2
-pkgrel=1
+pkgrel=2
pkgdesc="A small daemon to adjust cpu speed (and indeed voltage)"
url="http://sourceforge.net/projects/cpufreqd"
arch="all"
license="GPL2"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-doc"
depends=
-makedepends="cpufrequtils-dev sysfsutils-dev g++"
+makedepends="cpufrequtils-dev sysfsutils-dev"
install=
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
cpufreqd.initd"
@@ -23,7 +23,8 @@ build ()
package() {
cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
install -Dm 755 ../cpufreqd.initd "$pkgdir"/etc/init.d/cpufreqd \
|| return 1
}