-
Notifications
You must be signed in to change notification settings - Fork 177
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 770 Bytes
/
Makefile
File metadata and controls
25 lines (19 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: Makefile,v 1.15 2025/11/25 15:35:26 sborrill Exp $
DISTNAME= luasocket-3.1.0
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/lua//}
CATEGORIES= net lua
MASTER_SITES= -https://github.com/lunarmodules/luasocket/archive/v${PKGVERSION}.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://lunarmodules.github.io/luasocket/
COMMENT= Network support for the Lua language
LICENSE= mit
MAKE_FILE= makefile
CFLAGS.Darwin= -DUNIX_HAS_SUN_LEN
CFLAGS.FreeBSD= -DUNIX_HAS_SUN_LEN
CFLAGS.NetBSD= -DUNIX_HAS_SUN_LEN
LDFLAGS.SunOS= -lrt -lresolv -lsocket -lnsl
MAKE_FLAGS+= LUAV=${_LUA_DOT_VERSION}
MAKE_FLAGS+= LUAINC_linux_base=${PREFIX}/include
MAKE_FLAGS+= LUAPREFIX_linux=${PREFIX}
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"