Thanks, Jiri. Resending my patch using a different email client. Hopefully, this time it doesn't get mangled.
Frank Signed-off-by: Frank Edelhaeuser <fe...@users.sourceforge.net> Index: package/i2c-lua/Makefile =================================================================== --- package/i2c-lua/Makefile (attitude_adjustment) +++ package/i2c-lua/Makefile (working copy) @@ -0,0 +1,43 @@ +# +# Copyright (C) 2007-2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=i2c-lua +PKG_VERSION:=1.0.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/i2c-lua +PKG_MD5SUM:=7098577f101410b201cd43a7467e408d + +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=COPYING + +include $(INCLUDE_DIR)/package.mk + +define Package/i2c-lua + SUBMENU:=Lua + SECTION:=lang + CATEGORY:=Languages + TITLE:=I2C Lua binding + DEPENDS:=+liblua +kmod-i2c-core + MAINTAINER:=Frank Edelhaeuser <fe...@users.sourceforge.net> +endef + +define Package/i2c-lua/description + This is the Lua binding for I2C. It provides access to I2C slaves supported by the kernel. +endef + +define Package/i2c-lua/install + $(INSTALL_DIR) $(1)/usr/lib/lua + $(INSTALL_DIR) $(1)/usr/lib/lua/i2c + $(INSTALL_BIN) $(PKG_BUILD_DIR)/i2c.so $(1)/usr/lib/lua + $(INSTALL_DATA) $(PKG_BUILD_DIR)/examples/* $(1)/usr/lib/lua/i2c +endef + +$(eval $(call BuildPackage,i2c-lua)) ----- Forwarded message from Jiri Slachta <slac...@cesnet.cz> ----- Hello Frank, your email client mangled your patch. It seems that your email client converted tabs into spaces. Please follow this guideline and read all hints to set your email client correctly: http://web.archive.org/web/20120412091327/http://kerneltrap.org/Linux/Email_Clients_and_Patches However, this guide does not describe how to set up eM client you are using. :-( Jiri Dne 9. 5. 2014 16:51, fe...@users.sourceforge.net napsal(a): > This patch adds support for the I2C Lua binding. The I2C Lua binding allows > Lua scripts to control I2C slave devices on I2C busses supported by the > kernel. > > Sourceforge project page: http://sourceforge.net/projects/i2c-lua > > Hope I am doing this right (first time submitting a patch here). > > Thanks, > Frank ----- End forwarded message ----- _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel