blob: 30890d39c28f8b3889d16d7dcba07526bad2f67f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fancontroled
pkgver=0.1
pkgrel=0
pkgdesc="a temperature dependent fan speed control"
url="http://fancontroled.lukaperkov.net/"
arch="all"
license="GPLv3"
depends=""
makedepends="lm_sensors-dev"
install=""
subpackages=""
source="http://code.lukaperkov.net/fancontroled/fancontroled-$pkgver.tar
link.patch"
_builddir="$srcdir"/fancontroled-$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"
make || return 1
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr/sbin
make install DESTDIR="$pkgdir" || return 1
}
md5sums="8c3a7efa99e58216ad4633d1e6ed1358 fancontroled-0.1.tar
099a824ba948f1f01da8d374024357fd link.patch"
|