summaryrefslogtreecommitdiffstats
path: root/main/cpufreqd/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-04 08:19:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-04 08:22:45 +0000
commitcff79a00ec4dc26a3caa16c174a07a3948da4810 (patch)
treeaae33bf81c3407a0622b857ed1969471eae7b7c6 /main/cpufreqd/APKBUILD
parent1eaeb70f388cfe3d10dc6825f947fdeeecf6ac44 (diff)
downloadaports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.bz2
aports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.xz
main/[various]: let abuild detect shared objects dependencies
Diffstat (limited to 'main/cpufreqd/APKBUILD')
-rw-r--r--main/cpufreqd/APKBUILD6
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