Ignore:
Timestamp:
2011-05-06T19:59:29+02:00 (5 years ago)
Author:
luka
Message:

reorganize lm-sensors Makefile
Philip Prindeville <philipp_subx@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/lm-sensors/Makefile

    r26758 r26838  
    1010PKG_NAME:=lm-sensors 
    1111PKG_VERSION:=3.3.0 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=lm_sensors-$(PKG_VERSION).tar.bz2 
     
    3535endef 
    3636 
     37define Package/lm-sensors-detect 
     38  $(call Package/lm-sensors/Default) 
     39  SECTION:=utils 
     40  CATEGORY:=Utilities 
     41  TITLE:=lm-sensors-detect 
     42  DEPENDS+=+lm-sensors +perl +perlbase-essential +perlbase-fcntl +perlbase-file +perlbase-xsloader 
     43endef 
     44 
    3745define Package/libsensors 
    3846  $(call Package/lm-sensors/Default) 
     
    4351 
    4452define Package/lm-sensors/description 
    45         Utility to read hardware sensor data 
     53 Utility to read hardware sensor data 
     54endef 
     55 
     56define Package/lm-sensors-detect/description 
     57 Script to autodetect sensor hardware 
    4658endef 
    4759 
    4860define Package/libsensors/description 
    49         lm-sensors libraries 
     61 lm-sensors libraries 
    5062endef 
    5163 
     
    8092        $(INSTALL_DIR) $(1)/usr/sbin 
    8193        $(INSTALL_BIN) $(PKG_BUILD_DIR)/prog/sensors/sensors $(1)/usr/sbin 
    82         $(INSTALL_BIN) $(PKG_BUILD_DIR)/prog/detect/sensors-detect $(1)/usr/sbin 
    8394ifeq ($(ARCH),i386) 
    8495        $(INSTALL_DIR) $(1)/etc 
    8596        $(INSTALL_CONF) ./files/sensors.conf $(1)/etc/sensors.conf 
    8697endif 
     98endef 
     99 
     100define Package/lm-sensors-detect/install 
     101        $(INSTALL_DIR) $(1)/usr/sbin 
     102        $(INSTALL_BIN) $(PKG_BUILD_DIR)/prog/detect/sensors-detect $(1)/usr/sbin 
    87103endef 
    88104 
     
    93109 
    94110$(eval $(call BuildPackage,lm-sensors)) 
     111$(eval $(call BuildPackage,lm-sensors-detect)) 
    95112$(eval $(call BuildPackage,libsensors)) 
Note: See TracChangeset for help on using the changeset viewer.