d0ebd77d99
0.11 release + OSX time functions + OSX Mach types + OSX fixes for Yosemite + arm64 support + OpenBSD 5.6, 5.7 and 5.8 support + ppc64le support, by Gustavo Serra Scalet + mipsel support + added Dockerfile, now available on Docker Hub OK alnsn@
31 lines
855 B
Makefile
31 lines
855 B
Makefile
# $NetBSD: Makefile,v 1.2 2016/02/01 09:53:08 prlw1 Exp $
|
|
|
|
DISTNAME= ljsyscall-0.11
|
|
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"
|