aboutsummaryrefslogtreecommitdiffstats
path: root/testing/linux-tools
diff options
context:
space:
mode:
authorBen Allen <bensallen@me.com>2016-01-10 03:04:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-01-11 21:24:24 +0000
commitfdb0d1c11bbc081c49898d439331c166f70fa807 (patch)
treef37802c72717e2624ad29a1289e80a91e7a034f1 /testing/linux-tools
parent3b668b5d523c8640dcb00f74b86a749206191596 (diff)
downloadaports-fdb0d1c11bbc081c49898d439331c166f70fa807.tar.bz2
aports-fdb0d1c11bbc081c49898d439331c166f70fa807.tar.xz
testing/cpupower: Moving linux-tools to dedicated cpupower package. Update to use 4.1.15 kernel. Add cpupower initd and confd from Gentoo.
- Updating version to compile from Linux 4.1.15 source. - Adding a confd and initd from Gentoo's cpupower package, as is, except changing to #!/sbin/openrc-run in the initd. - Removing testing/linux-tools, and creating a dedicated testing/cpupower package. Cpupower needs a doc, lang, and dev subpkg.
Diffstat (limited to 'testing/linux-tools')
-rw-r--r--testing/linux-tools/APKBUILD53
1 files changed, 0 insertions, 53 deletions
diff --git a/testing/linux-tools/APKBUILD b/testing/linux-tools/APKBUILD
deleted file mode 100644
index 73c25a4835..0000000000
--- a/testing/linux-tools/APKBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
-pkgname=linux-tools
-pkgver=3.14.37
-pkgrel=0
-pkgdesc="Linux kernel tools meta package"
-url="http://www.kernel.org"
-arch="noarch"
-license="GPL2"
-depends="$pkgname-cpupower"
-depends_dev="pciutils-dev readline-dev gettext-dev"
-makedepends="$depends_dev bash linux-headers"
-install=""
-subpackages="$pkgname-cpupower"
-source="http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$pkgver.tar.xz"
-
-_builddir="$srcdir"/linux-$pkgver
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$_builddir"
- # possible tools: acpi cgroup cpupower firewire lguest perf selftests turbostat
- # usb virtio net vm x86_energy_perf_policy tmon"
- export CFLAGS="$CFLAGS -lintl"
- cd "$_builddir"/tools/power/cpupower
- make VERSION=$pkgver-$pkgrel
-}
-
-package() {
- cd "$_builddir"
- mkdir -p "$pkgdir"
-}
-
-cpupower() {
- pkgdesc="Linux kernel tool to examine and tune power saving related features of your processor"
- arch="all"
- depends=
- cd "$_builddir"/tools/power/cpupower
- make DESTDIR="$subpkgdir" install || return 1
-}
-
-md5sums="43abcb454054c53fb07296e84119edc5 linux-3.14.37.tar.xz"
-sha256sums="ccaf13806075aaefc171410282281bdf27f830029a74ea11cd6868bf4f8a04df linux-3.14.37.tar.xz"
-sha512sums="4891484ef35e92072c4ee0369cc6437dda4e0b81a38331cbe0e163d82453bbc53cb8084c59ad57bbac5628b4c8e06c93ce3055203838e5d10c94d9776daa0d0e linux-3.14.37.tar.xz"