2 # Copyright (C) 2014 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:=https://github.com/msva/lua-curl.git
16 PKG_SOURCE_VERSION:=047ac31ecd18c2526eed84e349e5016de2633fac
18 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
20 include $(INCLUDE_DIR)/package.mk
21 include $(INCLUDE_DIR)/cmake.mk
23 define Package/luacurl
28 URL:=http://msva.github.io/lua-curl/
29 DEPENDS:=+liblua +libcurl
32 define Package/luacurl/description
33 Lua-cURL is aiming for a full-fledged libcurl binding (easy/multi/share
34 interface) to the functionality of Lua
40 define Package/luacurl/install
41 $(INSTALL_DIR) $(1)/usr/lib/lua
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cURL.so $(1)/usr/lib/lua/
45 $(eval $(call BuildPackage,luacurl))