aboutsummaryrefslogtreecommitdiff
path: root/package/luaexpatutils/luaexpatutils.mk
blob: 79578c084269b378e128e5b7511111e6eaa1e7c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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))