Changeset 11825


Ignore:
Timestamp:
2008-07-14T13:57:06+02:00 (8 years ago)
Author:
florian
Message:

Upgrade lm-sensors to 3.0.2, package libsensors separately, which can be built in a arch-independent way

Location:
packages/utils/lm-sensors
Files:
1 deleted
1 edited

Legend:

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

    r11299 r11825  
    1010 
    1111PKG_NAME:=lm-sensors 
    12 PKG_VERSION:=2.10.3 
     12PKG_VERSION:=3.0.2 
    1313PKG_RELEASE:=1 
    1414 
    15 PKG_SOURCE:=lm_sensors-$(PKG_VERSION).tar.gz 
     15PKG_SOURCE:=lm_sensors-$(PKG_VERSION).tar.bz2 
    1616PKG_SOURCE_URL:=http://dl.lm-sensors.org/lm-sensors/releases/ 
    17 PKG_MD5SUM:=55d77146fbd56c205a9f81d262b9453c 
     17PKG_MD5SUM:=5b210ba9cc01f00161c438fd618484e5 
    1818 
    1919PKG_BUILD_DIR:=$(BUILD_DIR)/lm_sensors-$(PKG_VERSION) 
     
    2121include $(INCLUDE_DIR)/package.mk 
    2222 
    23 define Package/lm-sensors 
     23define Package/lm-sensors/Default 
    2424  SECTION:=utils 
    2525  CATEGORY:=Utilities 
     
    2929endef 
    3030 
     31define Package/lm-sensors 
     32  $(call Package/lm-sensors/Default) 
     33  TITLE+= (programs) 
     34  DEPENDS+= @TARGET_x86 
     35endef 
     36 
     37define Package/libsensors 
     38  $(call Package/lm-sensors/Default) 
     39  SECTION:=libs 
     40  CATEGORY:=Libraries 
     41  TITLE+= libraries 
     42endef 
     43 
    3144define Package/lm-sensors/description 
    3245        Utility to read hardware sensor data 
     46endef 
     47 
     48define Package/libsensors/description 
     49        lm-sensors libraries 
    3350endef 
    3451 
     
    3956                CC="$(TARGET_CC)" \ 
    4057                STAGING_DIR="$(STAGING_DIR)" \ 
     58                PREFIX="/usr" \ 
     59                MACHINE="$(ARCH)" \ 
    4160                user 
    4261endef 
    4362 
    4463define Package/lm-sensors/install 
    45         $(INSTALL_DIR) $(1)/usr/lib 
    46         $(CP) $(PKG_BUILD_DIR)/lib/libsensors.so* $(1)/usr/lib/ 
    4764        $(INSTALL_DIR) $(1)/usr/sbin 
    4865        $(CP) $(PKG_BUILD_DIR)/prog/sensors/sensors $(1)/usr/sbin/ 
     
    5370endef 
    5471 
     72define Package/libsensors/install 
     73        $(INSTALL_DIR) $(1)/usr/lib 
     74        $(CP) $(PKG_BUILD_DIR)/lib/libsensors.so* $(1)/usr/lib/ 
     75endef 
     76 
     77 
    5578$(eval $(call BuildPackage,lm-sensors)) 
     79$(eval $(call BuildPackage,libsensors)) 
Note: See TracChangeset for help on using the changeset viewer.