]>
Commit | Line | Data |
---|---|---|
4a45d509 SS |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = lm_sensors | |
9d9e0884 | 28 | PKG_VER = 3.3.1 |
2892e81c | 29 | PKG_REL = 1 |
4a45d509 SS |
30 | |
31 | PKG_MAINTAINER = | |
bb7d617c | 32 | PKG_GROUPS = Applications/Statistics |
4a45d509 SS |
33 | PKG_URL = http://www.lm-sensors.org/ |
34 | PKG_LICENSE = GPLv2+ | |
35 | PKG_SUMMARY = Hardware monitoring tools. | |
36 | ||
ca5dfefc MT |
37 | PKG_BUILD_DEPS+= bison flex sysfsutils-devel |
38 | PKG_DEPS += perl rrdtool | |
4a45d509 SS |
39 | |
40 | define PKG_DESCRIPTION | |
41 | The lm_sensors package includes a collection of modules for general SMBus \ | |
42 | access and hardware monitoring. | |
43 | endef | |
44 | ||
45 | PKG_TARBALL = $(THISAPP).tar.bz2 | |
46 | ||
47 | define STAGE_PREPARE_CMDS | |
48 | cd $(DIR_APP) && sed -e "s/^PREFIX\ :=\ .*/PREFIX=\/usr/g" \ | |
49 | -e "s/^MACHINE\ :=\ .*/MACHINE=$(MACHINE)/g" \ | |
50 | -e "s/^MANDIR.*/MANDIR=\/usr\/share\/man/g" -i Makefile | |
51 | endef | |
52 | ||
53 | define STAGE_BUILD | |
54 | cd $(DIR_APP) && make $(PARALLELISMFLAGS) EXLDFLAGS= | |
55 | endef |