Commit 0b20c1aa authored by Assaf Inbal's avatar Assaf Inbal Committed by Peter Korsgaard
Browse files

luaexpatutils: New package



lxp.doc is a module that provides useful features for working with XML
formats in LOM format as used by the LuaExpat project from Kepler.

[Peter: use fixed git revision, github tarball, install -D]
Signed-off-by: default avatarAssaf Inbal <shmuelzon@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 211a5df2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -319,6 +319,7 @@ source "package/luabitop/Config.in"
source "package/luacjson/Config.in"
source "package/luacrypto/Config.in"
source "package/luaexpat/Config.in"
source "package/luaexpatutils/Config.in"
source "package/luafilesystem/Config.in"
source "package/luasocket/Config.in"
source "package/lua-ev/Config.in"
+8 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LUAEXPATUTILS
	bool "luaexpatutils"
	select BR2_PACKAGE_LUAEXPAT
	help
	  lxp.doc is a module that provides useful features for working with
	  XML formats in LOM format as used by the LuaExpat project from Kepler.

	  https://github.com/stevedonovan/LuaExpatUtils
+21 −0
Original line number Diff line number Diff line
#############################################################
#
# luaexpatutils
#
#############################################################

LUAEXPATUTILS_VERSION = 88c228365b
LUAEXPATUTILS_SITE = http://github.com/stevedonovan/LuaExpatUtils/tarball/$(LUAEXPATUTILS_VERSION)
LUAEXPATUTILS_LICENSE = Public Domain
LUAEXPATUTILS_DEPENDENCIES = luaexpat

define LUAEXPATUTILS_INSTALL_TARGET_CMDS
	$(INSTALL) -m 0644 -D $(@D)/lua/doc.lua \
		$(TARGET_DIR)/usr/share/lua/lxp/doc.lua
endef

define LUAEXPATUTILS_UNINSTALL_TARGET_CMDS
	rm -f $(TARGET_DIR)/usr/share/lua/lxp/doc.lua
endef

$(eval $(generic-package))