summaryrefslogtreecommitdiffstats
path: root/package/xavante/xavante.mk
blob: dd2a707d90be6b1206b57371f7704afbb54f75d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# xavante
#
################################################################################

XAVANTE_VERSION = 2.2.1
XAVANTE_SITE = http://github.com/downloads/keplerproject/xavante
XAVANTE_LICENSE = MIT

define XAVANTE_INSTALL_TARGET_CMDS
	$(MAKE) -C $(@D) PREFIX=/usr \
		LUA_DIR="$(TARGET_DIR)/usr/share/lua" \
		LUA_LIBDIR="$(TARGET_DIR)/usr/lib/lua" install
endef

define XAVANTE_UNINSTALL_TARGET_CMDS
	rm -rf "$(TARGET_DIR)/usr/share/xavante"
	rm -f "$(TARGET_DIR)/usr/share/xavante.lua"
	rm -f "$(TARGET_DIR)/usr/share/sajax.lua"
endef

$(eval $(generic-package))
OpenPOWER on IntegriCloud