2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-05-10 19:51:00 +02:00
|
|
|
#
|
|
|
|
# luasocket
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-05-10 19:51:00 +02:00
|
|
|
|
|
|
|
LUASOCKET_VERSION = 2.0.2
|
|
|
|
LUASOCKET_SITE = http://luaforge.net/frs/download.php/2664
|
2014-01-11 16:42:03 +01:00
|
|
|
LUASOCKET_DEPENDENCIES = luainterpreter
|
2012-08-06 07:46:44 +02:00
|
|
|
LUASOCKET_LICENSE = MIT
|
|
|
|
LUASOCKET_LICENSE_FILES = LICENSE
|
2010-05-10 19:51:00 +02:00
|
|
|
|
|
|
|
define LUASOCKET_BUILD_CMDS
|
|
|
|
$(MAKE) -C $(@D) -f makefile \
|
|
|
|
CC="$(TARGET_CC)" LD="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -fPIC"
|
|
|
|
endef
|
|
|
|
|
|
|
|
define LUASOCKET_INSTALL_TARGET_CMDS
|
|
|
|
$(MAKE) -C $(@D) -f makefile \
|
2014-01-11 16:42:05 +01:00
|
|
|
INSTALL_TOP_SHARE="$(TARGET_DIR)/usr/share/lua/5.1" \
|
|
|
|
INSTALL_TOP_LIB="$(TARGET_DIR)/usr/lib/lua/5.1" install
|
2010-05-10 19:51:00 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|