Changeset 38082


Ignore:
Timestamp:
2013-09-20T04:00:07+02:00 (4 years ago)
Author:
luka
Message:

[packages] i2c-tools: update to svn r6199

Signed-off-by: Luka Perkov <luka@…>

Location:
packages/utils/i2c-tools
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/i2c-tools/Makefile

    r37188 r38082  
    11# 
    2 # Copyright (C) 2007-2011 OpenWrt.org 
     2# Copyright (C) 2007-2013 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010 
    1111PKG_NAME:=i2c-tools 
    12 PKG_VERSION:=3.1.0 
     12PKG_VERSION:=2013-09-19 
    1313PKG_RELEASE:=1 
    1414 
    15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    16 PKG_SOURCE_URL:=http://dl.lm-sensors.org/i2c-tools/releases 
    17 PKG_MD5SUM:=f15019e559e378c6e9d5d6299a00df21 
     15PKG_SOURCE_PROTO:=svn 
     16PKG_SOURCE_URL:=http://lm-sensors.org/svn/i2c-tools/trunk 
     17PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
     18PKG_SOURCE_VERSION:=r6199 
     19PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
    1820 
     21PKG_BUILD_PARALLEL:=1 
    1922PKG_BUILD_DEPENDS:=PACKAGE_python-smbus:python 
    2023 
     
    2225$(call include_mk, python-package.mk) 
    2326 
     27define Package/i2c/Default 
     28  URL:=http://lm-sensors.org/wiki/I2CTools 
     29  TITLE:=I2C 
     30endef 
     31 
     32define Package/libi2c 
     33  $(call Package/i2c/Default) 
     34  SECTION:=libs 
     35  CATEGORY:=Libraries 
     36  TITLE+=library 
     37endef 
     38 
    2439define Package/i2c-tools 
     40  $(call Package/i2c/Default) 
    2541  SECTION:=utils 
    2642  CATEGORY:=Utilities 
    27   TITLE:=I2C tools for Linux 
    28   URL:=http://www.lm-sensors.org/wiki/I2CTools 
     43  TITLE+=tools for Linux 
     44  DEPENDS:=+libi2c 
    2945endef 
    3046 
    3147define Package/python-smbus 
     48  $(call Package/i2c/Default) 
    3249  SUBMENU:=Python 
    3350  SECTION:=lang 
    3451  CATEGORY:=Languages 
    3552  TITLE:=Python bindings for the SMBUS 
    36   URL:=http://www.lm-sensors.org/wiki/I2CTools 
    37   DEPENDS:= +PACKAGE_python-smbus:python-mini +i2c-tools 
     53  DEPENDS:=+PACKAGE_python-smbus:python-mini +i2c-tools 
    3854endef 
    3955 
     
    4157 This package contains an heterogeneous set of I2C tools for Linux. These tools 
    4258 were originally part of the lm-sensors package. 
    43  Includes: 
    44  - i2cdetect 
    45  - i2cdump 
    46  - i2cget 
    47  - i2cset 
    4859endef 
    4960 
    5061define Package/python-smbus/description 
    51  This package contains an heterogeneous set of I2C tools for Linux. 
    52  
    5362 This package contain the python bindings for Linux SMBus access through i2c-dev. 
    5463endef 
     
    7483endef 
    7584 
     85define Build/InstallDev 
     86        $(INSTALL_DIR) $(1)/usr/lib 
     87        $(CP) $(PKG_BUILD_DIR)/lib/libi2c.so* $(1)/usr/lib/ 
     88endef 
     89 
     90define Package/libi2c/install 
     91        $(INSTALL_DIR) $(1)/usr/lib 
     92        $(CP) $(PKG_BUILD_DIR)/lib/libi2c.so* $(1)/usr/lib/ 
     93endef 
     94 
    7695define Package/i2c-tools/install 
    7796        $(INSTALL_DIR) $(1)/usr/sbin 
     
    86105endef 
    87106 
     107$(eval $(call BuildPackage,libi2c)) 
    88108$(eval $(call BuildPackage,i2c-tools)) 
    89109$(eval $(call PyPackage,python-smbus)) 
Note: See TracChangeset for help on using the changeset viewer.