]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/lm-sensors/lm-sensors.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / lm-sensors / lm-sensors.nm
CommitLineData
4a45d509 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4a45d509
SS
4###############################################################################
5
802ea3af
MT
6name = lm_sensors
7version = 3.3.1
8release = 1
4a45d509 9
802ea3af
MT
10groups = Applications/Statistics
11url = http://www.lm-sensors.org/
12license = GPLv2+
13summary = Hardware monitoring tools.
4a45d509 14
802ea3af 15description
4a45d509
SS
16 The lm_sensors package includes a collection of modules for general SMBus \
17 access and hardware monitoring.
802ea3af
MT
18end
19
20source_dl =
21sources = %{thisapp}.tar.bz2
22
23build
24 requires
25 bison
26 flex
27 sysfsutils-devel
28 end
29
30 prepare_cmds
31 sed -e "s/^PREFIX\ :=\ .*/PREFIX=\/usr/g" \
32 -e "s/^MACHINE\ :=\ .*/MACHINE=%{MACHINE}/g" \
33 -e "s/^MANDIR.*/MANDIR=\/usr\/share\/man/g" -i Makefile
34 end
35
36 build
37 make %{PARALLELISMFLAGS} EXLDFLAGS=
38 end
39end
40
41packages
42 package %{name}
43 requires = perl rrdtool
44 end
45end