summaryrefslogtreecommitdiffstats
path: root/package/luaexpatutils
diff options
context:
space:
mode:
authorAssaf Inbal <shmuelzon@gmail.com>2013-05-20 15:56:40 +0300
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-19 23:24:39 +0200
commit0b20c1aa33638bdf6cbcddd7a01ce6a78e25a382 (patch)
tree840b0da7e7ab1dee2c8db5b9155897f5acf06f3f /package/luaexpatutils
parent211a5df280ac463da4c8f3ad0539455f206aa04d (diff)
downloadbuildroot-novena-0b20c1aa33638bdf6cbcddd7a01ce6a78e25a382.tar.gz
buildroot-novena-0b20c1aa33638bdf6cbcddd7a01ce6a78e25a382.zip
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: Assaf Inbal <shmuelzon@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/luaexpatutils')
-rw-r--r--package/luaexpatutils/Config.in8
-rw-r--r--package/luaexpatutils/luaexpatutils.mk21
2 files changed, 29 insertions, 0 deletions
diff --git a/package/luaexpatutils/Config.in b/package/luaexpatutils/Config.in
new file mode 100644
index 000000000..cb2887aca
--- /dev/null
+++ b/package/luaexpatutils/Config.in
@@ -0,0 +1,8 @@
+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
diff --git a/package/luaexpatutils/luaexpatutils.mk b/package/luaexpatutils/luaexpatutils.mk
new file mode 100644
index 000000000..79578c084
--- /dev/null
+++ b/package/luaexpatutils/luaexpatutils.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# 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))