]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - lm-sensors/lm-sensors.nm
Add a -debuginfo for every package that is not noarch.
[people/ms/ipfire-3.x.git] / lm-sensors / lm-sensors.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = lm_sensors
7 version = 3.3.1
8 release = 1
9
10 groups = Applications/Statistics
11 url = http://www.lm-sensors.org/
12 license = GPLv2+
13 summary = Hardware monitoring tools.
14
15 description
16 The lm_sensors package includes a collection of modules for general SMBus \
17 access and hardware monitoring.
18 end
19
20 source_dl =
21 sources = %{thisapp}.tar.bz2
22
23 build
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
39 end
40
41 packages
42 package %{name}
43 requires = perl rrdtool
44 end
45
46 package %{name}-debuginfo
47 template DEBUGINFO
48 end
49 end