diff options
Diffstat (limited to 'main/cpufreqd/APKBUILD')
-rw-r--r-- | main/cpufreqd/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/cpufreqd/APKBUILD b/main/cpufreqd/APKBUILD index 98d7f94cf..7cc8929c4 100644 --- a/main/cpufreqd/APKBUILD +++ b/main/cpufreqd/APKBUILD @@ -6,7 +6,7 @@ pkgdesc="A small daemon to adjust cpu speed (and indeed voltage)" url="http://sourceforge.net/projects/cpufreqd" license="GPL2" subpackages="$pkgname-dev $pkgname-doc" -depends="cpufrequtils sysfsutils uclibc" +depends= makedepends="cpufrequtils-dev sysfsutils-dev g++" install= source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 @@ -18,6 +18,10 @@ build () ./configure --prefix=/usr \ --sysconfdir=/etc make LIBS=-lpthread || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm 755 ../cpufreqd.initd "$pkgdir"/etc/init.d/cpufreqd \ || return 1 |