kumquat-buildroot/package/rings/rings.mk
Alexandre Belloni 8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00

31 lines
766 B
Makefile

################################################################################
#
# rings
#
################################################################################
RINGS_VERSION = 1.2.3
RINGS_SITE = http://github.com/downloads/keplerproject/rings
RINGS_DEPENDENCIES = lua
RINGS_LICENSE = MIT
define RINGS_BUILD_CMDS
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -fPIC"
endef
define RINGS_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) LUA_LIBDIR="$(TARGET_DIR)/usr/lib/lua" \
LUA_DIR="$(TARGET_DIR)/usr/share/lua" install
endef
define RINGS_UNINSTALL_TARGET_CMDS
rm -f "$(TARGET_DIR)/usr/lib/lua/rings.so"
rm -f "$(TARGET_DIR)/usr/share/lua/stable.lua"
endef
define RINGS_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
$(eval $(generic-package))