kumquat-buildroot/package/luabitop/luabitop.mk
Assaf Inbal 5b81dd4770 luabitop: New package
Lua library for binary operations

[Peter: fix header, use TARGET_CONFIGURE_OPTS]
Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-16 22:02:14 +02:00

28 lines
685 B
Makefile

################################################################################
#
# luabitop
#
################################################################################
LUABITOP_VERSION = 1.0.2
LUABITOP_SOURCE = LuaBitOp-$(LUABITOP_VERSION).tar.gz
LUABITOP_SITE = http://bitop.luajit.org/download
LUABITOP_LICENSE = MIT
LUABITOP_LICENSE_FILES = README
LUABITOP_DEPENDENCIES = lua
define LUABITOP_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef
define LUABITOP_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/usr/lib/lua
$(INSTALL) -p $(@D)/bit.so $(TARGET_DIR)/usr/lib/lua
endef
define LUABITOP_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
$(eval $(generic-package))