clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since e5345f18 was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago |
r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure
|
-
Property mode
set to
100755
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | ### lm_sensors ###
|
---|
4 |
|
---|
5 | cd ${SRC}
|
---|
6 | LOG=lm_sensors-blfs.log
|
---|
7 |
|
---|
8 | SELF=`basename ${0}`
|
---|
9 | set_buildenv
|
---|
10 | set_libdirname
|
---|
11 | setup_multiarch
|
---|
12 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
13 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
14 | fi
|
---|
15 |
|
---|
16 | unpack_tarball lm_sensors-${LM_SENSORS_VER}
|
---|
17 | cd ${PKGDIR}
|
---|
18 |
|
---|
19 | max_log_init lm_sensors ${LM_SENSORS_VER} "blfs (shared)" ${BUILDLOGS} ${LOG}
|
---|
20 | make \
|
---|
21 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
22 | CFLAGS="${TGT_CFLAGS}" \
|
---|
23 | PREFIX=/usr \
|
---|
24 | LIBDIR=/usr/${libdirname} \
|
---|
25 | user \
|
---|
26 | >> ${LOGFILE} 2>&1 &&
|
---|
27 | echo " o Build OK" &&
|
---|
28 |
|
---|
29 | min_log_init ${INSTLOGS} &&
|
---|
30 | make \
|
---|
31 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
32 | CFLAGS="${TGT_CFLAGS}" \
|
---|
33 | PREFIX=/usr \
|
---|
34 | LIBDIR=/usr/${libdirname} \
|
---|
35 | user_install \
|
---|
36 | >> ${LOGFILE} 2>&1 &&
|
---|
37 | echo " o ALL OK" || barf
|
---|
38 |
|
---|
39 | echo"
|
---|
40 | ###############################################################
|
---|
41 | # TODO: This should be handled by udev, devices don't get
|
---|
42 | # automatically created...
|
---|
43 | # Also, sensors-detect needs to be run, startup scripts
|
---|
44 | # installed ...
|
---|
45 | ###############################################################
|
---|
46 | #prog/mkdev/mkdev.sh
|
---|
47 | #sensors-detect
|
---|
48 | #cp prog/init/lm_sensors.init /etc/rc.d/init.d/lm_sensors
|
---|
49 | #echo \"alias char-major-89 i2c-dev\" >> /etc/modules.conf
|
---|
50 | #mkdir -p /var/lock/subsys
|
---|
51 | "
|
---|
Note:
See
TracBrowser
for help on using the repository browser.