# Description: Collection of user space tools for general SMBus access and hardware monitoring
# URL: http://dl.lm-sensors.org/lm-sensors/
# Packager: pierre at nutyx dot org
# Depends on: 

name=lm-sensors
version=3.4.0
release=1

source=(http://ftp.osuosl.org/pub/blfs/conglomeration/lmsensors/lm_sensors-$version.tar.bz2)

build() {
	cd lm_sensors-$version
	make PREFIX=/usr DESTDIR=$PKG \
	BUILD_STATIC_LIB=0 \
	MANDIR=/usr/share/man
	make PREFIX=/usr DESTDIR=$PKG \
	BUILD_STATIC_LIB=0 \
	MANDIR=/usr/share/man install

	install -v -m755 -d $PKG/usr/share/doc/$name-$version
	cp -rv README INSTALL doc/* \
	$PKG/usr/share/doc/$name-$version
}
