summaryrefslogtreecommitdiffstats
path: root/lm_sensors/Pkgfile
blob: 7bdbc312c1ed3b80f9cf43ed0f953410363755de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Collection d'outils pour la supervision du matériel
# URL: http://dl.lm-sensors.org/lm-sensors/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: sysfsutils
# Run on: sysfsutils

name=lm_sensors
version=3.2.0
release=1
source=(http://dl.lm-sensors.org/lm-sensors/releases/$name-$version.tar.bz2)

build() {
	cd $name-$version
	make
	make user_install PREFIX=/usr DESTDIR=$PKG
	mkdir -p $PKG/usr/share/man
	mv $PKG/usr/man $PKG/usr/share/man
	rm -rf $PKG/usr/lib/libsensors.a
	rm -rf $PKG/usr/include/linux
}