remove experimental llvm support
[openadk.git] / package / lm_sensors / Makefile
blobc597717416b4dff6b9b0c0a64a50a7cdf0b2cbfc
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= lm_sensors
7 PKG_VERSION:= 3.3.5
8 PKG_RELEASE:= 1
9 PKG_HASH:= 5dae6a665e1150159a93743c4ff1943a7efe02cd9d3bb12c4805e7d7adcf4fcf
10 PKG_DESCR:= hardware sensor toolset
11 PKG_SECTION:= sys/hw
12 PKG_DEPENDS:= sysfsutils
13 PKG_URL:= http://www.lm-sensors.org
14 PKG_SITES:= http://dl.lm-sensors.org/lm-sensors/releases/
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
18 PKG_ARCH_DEPENDS:= arm x86 x86_64
20 PKG_SUBPKGS:= LM_SENSORS LM_SENSORS_DETECT
21 PKGSD_LM_SENSORS_DETECT:= lm_sensors perl scripts (e.g. sensors-detect)
22 PKGSC_LM_SENSORS_DETECT:= sys/hw
23 PKGSS_LM_SENSORS_DETECT:= perl
24 PKGSB_LM_SENSORS_DETECT:= perl
26 include ${ADK_TOPDIR}/mk/package.mk
28 $(eval $(call PKG_template,LM_SENSORS,lm-sensors,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
29 $(eval $(call PKG_template,LM_SENSORS_DETECT,lm-sensors-detect,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LM_SENSORS_DETECT},${PKGSC_LM_SENSORS_DETECT}))
31 CONFIG_STYLE:= manual
32 ALL_TARGET:= user
34 lm-sensors-install:
35 ${INSTALL_DIR} ${IDIR_LM_SENSORS}/usr/bin
36 ${INSTALL_BIN} ${WRKINST}/usr/bin/sensors ${IDIR_LM_SENSORS}/usr/bin/sensors
37 ${INSTALL_DIR} ${IDIR_LM_SENSORS}/usr/lib
38 ${CP} ${WRKINST}/usr/lib/libsensors.so* ${IDIR_LM_SENSORS}/usr/lib
39 ${INSTALL_DIR} ${IDIR_LM_SENSORS}/etc
40 ${CP} ${WRKINST}/etc/sensors3.conf ${IDIR_LM_SENSORS}/etc
42 lm-sensors-detect-install:
43 ${INSTALL_DIR} ${IDIR_LM_SENSORS_DETECT}/usr/sbin
44 ${INSTALL_BIN} ${WRKINST}/usr/sbin/fancontrol ${IDIR_LM_SENSORS_DETECT}/usr/sbin/fancontrol
45 ${INSTALL_BIN} ${WRKINST}/usr/sbin/isadump ${IDIR_LM_SENSORS_DETECT}/usr/sbin/isadump
46 ${INSTALL_BIN} ${WRKINST}/usr/sbin/isaset ${IDIR_LM_SENSORS_DETECT}/usr/sbin/isaset
47 ${INSTALL_BIN} ${WRKINST}/usr/sbin/pwmconfig ${IDIR_LM_SENSORS_DETECT}/usr/sbin/pwmconfig
48 ${INSTALL_BIN} ${WRKINST}/usr/sbin/sensors-detect ${IDIR_LM_SENSORS_DETECT}/usr/sbin/sensors-detect
50 include ${ADK_TOPDIR}/mk/pkg-bottom.mk