kumquat-buildroot/package/luasec/luasec.mk
Thomas De Schampheleire eb7bd9ef61 packages: remove uninstall commands
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-06 09:40:40 +01:00

28 lines
771 B
Makefile

################################################################################
#
# luasec
#
################################################################################
LUASEC_VERSION = 0.4.1
LUASEC_SITE = http://www.inf.puc-rio.br/~brunoos/luasec/download/
LUASEC_LICENSE = MIT
LUASEC_LICENSE_FILES = LICENSE
LUASEC_DEPENDENCIES = lua openssl
define LUASEC_BUILD_CMDS
$(MAKE) -C $(@D) CC="$(TARGET_CC)" LD="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS) -fPIC" \
LDFLAGS="$(TARGET_LDFLAGS) -shared" linux
endef
define LUASEC_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/usr/share/lua
mkdir -p $(TARGET_DIR)/usr/lib/lua
$(MAKE) -C $(@D) \
LUAPATH="$(TARGET_DIR)/usr/share/lua" \
LUACPATH="$(TARGET_DIR)/usr/lib/lua" install
endef
$(eval $(generic-package))