diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-05-05 20:47:38 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-05-05 20:47:38 +0000 |
commit | 0d28fe709f229703324bae43fdbe8644e97ca3a0 (patch) | |
tree | 82ca799e9bfeaa46f51063f483044d57e06b25a8 /package/ubus/Makefile | |
parent | 768f0c40f8e1c389b1534a1ed456ead533ecffd0 (diff) | |
download | master-187ad058-0d28fe709f229703324bae43fdbe8644e97ca3a0.tar.gz master-187ad058-0d28fe709f229703324bae43fdbe8644e97ca3a0.tar.bz2 master-187ad058-0d28fe709f229703324bae43fdbe8644e97ca3a0.zip |
[package] ubus: update to current git, package up libubus-lua
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31619 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ubus/Makefile')
-rw-r--r-- | package/ubus/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/package/ubus/Makefile b/package/ubus/Makefile index 3823a1bd0b..6bef8fed12 100644 --- a/package/ubus/Makefile +++ b/package/ubus/Makefile @@ -1,15 +1,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ubus -PKG_VERSION:=2011-10-28 +PKG_VERSION:=2012-05-05 PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=git://nbd.name/luci2/ubus.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=3706552c1c42182a8b656f95affc7e787a5b71dd +PKG_SOURCE_VERSION:=25b9b4b827f74482743689386b195dca3b81a0df PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz -PKG_MIRROR_MD5SUM:=ec8a83b0678d3d9d2575bb975569576c +PKG_MIRROR_MD5SUM:=d68885340ab1cee2e04e9055186beb11 CMAKE_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -38,6 +38,14 @@ define Package/libubus TITLE:=OpenWrt RPC client library endef +define Package/libubus-lua + SECTION:=luci2 + CATEGORY:=LuCI2 + SUBMENU:=Libraries + DEPENDS:=+libubus +liblua + TITLE:=Lua binding for the OpenWrt RPC client +endef + TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include define Package/ubus/install @@ -56,7 +64,13 @@ define Package/libubus/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/lib/ endef +define Package/libubus-lua/install + $(INSTALL_DIR) $(1)/usr/lib/lua + $(CP) $(PKG_BUILD_DIR)/lua/ubus.so $(1)/usr/lib/lua/ +endef + $(eval $(call BuildPackage,ubus)) $(eval $(call BuildPackage,ubusd)) $(eval $(call BuildPackage,libubus)) +$(eval $(call BuildPackage,libubus-lua)) |