8c6ae6741d
0.12 release + Fix seccomp on arm64 + Linux added support for eBPF + bug fixes
31 lines
855 B
Makefile
31 lines
855 B
Makefile
# $NetBSD: Makefile,v 1.4 2018/04/08 10:11:52 alnsn Exp $
|
|
|
|
DISTNAME= ljsyscall-0.12
|
|
PKGNAME= ${DISTNAME:S/ljsyscall/${LUA_PKGPREFIX}-ljsyscall/}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=justincormack/}
|
|
GITHUB_TAG= v${PKGVERSION}
|
|
GITHUB_PROJECT= ${DISTNAME:S/-${PKGVERSION}//}
|
|
|
|
MAINTAINER= alnsn@NetBSD.org
|
|
HOMEPAGE= https://github.com/justincormack/ljsyscall
|
|
COMMENT= LuaJIT syscall FFI for the Linux, NetBSD, FreeBSD and OSX kernels
|
|
LICENSE= mit
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
NO_BUILD= yes
|
|
USE_TOOLS+= pax
|
|
|
|
INSTALLATION_DIRS+= ${LUA_LDIR}
|
|
|
|
DEPENDS+= LuaJIT2>=2.0.2:../../lang/LuaJIT2
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/syscall.lua \
|
|
${DESTDIR}${PREFIX}/${LUA_LDIR}
|
|
cd ${WRKSRC} && find syscall -name \*.lua \
|
|
| pax -rw ${DESTDIR}${PREFIX}/${LUA_LDIR}/
|
|
|
|
.include "../../lang/lua/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|