f195db004f
Lua extension library that is composed by two parts: a C core that provides support for the TCP and UDP transport layers, and a set of Lua modules that add support for functionality commonly needed by applications that deal with the Internet. (Based on wip/luasocket.)
25 lines
686 B
Makefile
25 lines
686 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 10:08:48 fhajny Exp $
|
|
#
|
|
|
|
DISTNAME= luasocket-2.0.2
|
|
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/lua//}
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/2664/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://w3.impa.br/~diego/software/luasocket/
|
|
COMMENT= Network support for the Lua language
|
|
LICENSE= mit
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
MAKE_FILE= makefile
|
|
USE_TOOLS+= gmake
|
|
|
|
LDFLAGS.SunOS= -lrt -lresolv
|
|
|
|
INSTALL_MAKE_FLAGS+= INSTALL_TOP_SHARE=${DESTDIR}${PREFIX}/${LUA_LDIR}
|
|
INSTALL_MAKE_FLAGS+= INSTALL_TOP_LIB=${DESTDIR}${PREFIX}/${LUA_CDIR}
|
|
|
|
.include "../../lang/lua/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|