aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 08:50:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 08:50:08 +0000
commitea9ca6405a837c465ace07f1fd7ca595df3dc2a6 (patch)
tree6635d1b6b5229d046d1c8a8a637180e7b88446de
parent8b4b5abbb91d51ac40309a4b9db8f968acd01d4c (diff)
downloadaports-ea9ca6405a837c465ace07f1fd7ca595df3dc2a6.tar.bz2
aports-ea9ca6405a837c465ace07f1fd7ca595df3dc2a6.tar.xz
main/cpufreqd: remove *.la
-rw-r--r--main/cpufreqd/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/cpufreqd/APKBUILD b/main/cpufreqd/APKBUILD
index e28084dd25..803914dd2c 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
}