2 # Copyright (C) 2012-2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=8a88b711d3d6a7fedd75af833c5470cb
20 include $(INCLUDE_DIR)/package.mk
22 define Package/iioutils
26 TITLE:=Linux IIO Utilities
27 URL:=http://sourceforge.net/projects/iioutils/
30 define Package/iioutils/description
31 lsiio is a utility for displaying information about IndustrialIO devices in the system and
32 the sensors provided by them.
35 TAR_CMD:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components 1 $(TAR_OPTIONS)
37 define Package/iioutils/install
38 $(INSTALL_DIR) $(1)/usr/sbin
39 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{lsiio,iio_ring} $(1)/usr/sbin/
42 $(eval $(call BuildPackage,iioutils))