diff options
author | John Crispin <john@openwrt.org> | 2013-09-17 21:44:52 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-09-17 21:44:52 +0000 |
commit | 513d282d34beea11fed63800a8d5beebe69418ec (patch) | |
tree | addb59a8ea9ace08970414b740fe18733cdf6fc8 /package | |
parent | b3ceaf834d064058608ea480a942d532a1556fee (diff) | |
download | upstream-513d282d34beea11fed63800a8d5beebe69418ec.tar.gz upstream-513d282d34beea11fed63800a8d5beebe69418ec.tar.bz2 upstream-513d282d34beea11fed63800a8d5beebe69418ec.zip |
libubox: add packaging info for uloop lua binding
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38018
Diffstat (limited to 'package')
-rw-r--r-- | package/libs/libubox/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/libs/libubox/Makefile b/package/libs/libubox/Makefile index 2d6967bdca..f79a34f963 100644 --- a/package/libs/libubox/Makefile +++ b/package/libs/libubox/Makefile @@ -54,6 +54,13 @@ define Package/libjson-script TITLE:=Minimalistic JSON based scripting engine endef +define Package/libubox-lua + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+libubox +liblua + TITLE:=Lua binding for the OpenWrt Basic utility library +endef + TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include CMAKE_OPTIONS = \ -DLUAPATH=/usr/lib/lua @@ -79,7 +86,13 @@ define Package/libjson-script/install $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libjson_script.so $(1)/lib/ endef +define Package/libubox-lua/install + $(INSTALL_DIR) $(1)/usr/lib/lua + $(CP) $(PKG_BUILD_DIR)/lua/uloop.so $(1)/usr/lib/lua/ +endef + $(eval $(call BuildPackage,libubox)) $(eval $(call BuildPackage,libblobmsg-json)) $(eval $(call BuildPackage,jshn)) $(eval $(call BuildPackage,libjson-script)) +$(eval $(call BuildPackage,libubox-lua)) |