]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame_incremental - 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
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = lm_sensors
7version = 3.3.1
8release = 1
9
10groups = Applications/Statistics
11url = http://www.lm-sensors.org/
12license = GPLv2+
13summary = Hardware monitoring tools.
14
15description
16 The lm_sensors package includes a collection of modules for general SMBus \
17 access and hardware monitoring.
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