mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
new package:
- add package lm_sensors
This commit is contained in:
parent
be3ac05e77
commit
23fc16520a
11
packages/sysutils/lm_sensors/build
Executable file
11
packages/sysutils/lm_sensors/build
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
make PREFIX=/usr CC=$TARGET_CC
|
||||
|
||||
$STRIP prog/sensors/sensors
|
14
packages/sysutils/lm_sensors/install
Executable file
14
packages/sysutils/lm_sensors/install
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/prog/sensors/sensors $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/lib/libsensors.so* $INSTALL/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/etc
|
||||
cp $PKG_BUILD/etc/sensors.conf.default $INSTALL/etc/sensors3.conf
|
1
packages/sysutils/lm_sensors/url
Normal file
1
packages/sysutils/lm_sensors/url
Normal file
@ -0,0 +1 @@
|
||||
http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-3.1.2.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user