Ravenports generated: 14 Apr 2020 21:07
[ravenports.git] / bucket_D5 / lua-bitop
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               lua-bitop
4 VERSION=                1.0.2
5 KEYWORDS=               devel
6 VARIANTS=               lua52 lua53
7 SDESC[lua52]=           Bitwise operations on numbers for Lua 5.2
8 SDESC[lua53]=           Bitwise operations on numbers for Lua 5.3
9 HOMEPAGE=               http://bitop.luajit.org/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            http://bitop.luajit.org/download/
14 DISTFILE[1]=            LuaBitOp-1.0.2.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[lua52]=           single
17 SPKGS[lua53]=           single
18
19 OPTIONS_AVAILABLE=      LUA52 LUA53
20 OPTIONS_STANDARD=       none
21 VOPTS[lua52]=           LUA52=ON LUA53=OFF
22 VOPTS[lua53]=           LUA52=OFF LUA53=ON
23
24 USES=                   gmake
25
26 DISTNAME=               LuaBitOp-1.0.2
27
28 FPC_EQUIVALENT=         devel/lua-bitop
29
30 MAKE_ARGS=              CC={{CC}}
31                         LUA={{LUA_CMD}}
32
33 CFLAGS=                 -DLUA_NUMBER_LONG_LONG
34                         -I{{LUA_INCDIR}}
35
36 [LUA52].DESCRIPTION=                    Build with Lua 5.2
37 [LUA52].USES_ON=                        lua:5.2
38
39 [LUA53].DESCRIPTION=                    Build with Lua 5.3
40 [LUA53].USES_ON=                        lua:5.3
41
42 do-install:
43         @${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
44         ${INSTALL_LIB} ${WRKSRC}/bit.so ${STAGEDIR}${LUA_MODLIBDIR}
45
46 [FILE:826:descriptions/desc.single]
47 Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise
48 operations on numbers.
49
50 Features:
51  * Supported functions: bit.tobit, bit.tohex, bit.bnot, bit.band, bit.bor,
52    bit.bxor, bit.lshift, bit.rshift, bit.arshift, bit.rol, bit.ror,
53    bit.bswap
54  * Consistent semantics across 16, 32 and 64 bit platforms.
55  * Supports different lua_Number types: either IEEE 754 doubles,
56    int32_t or int64_t.
57  * Runs on Linux, *BSD, Mac OS X, Windows and probably anything else you
58    can find.
59  * Simple installation on all systems. No bulky configure scripts.
60    Embedded-systems-friendly.
61  * Internal self-test on startup to detect miscompiles. Includes a
62    comprehensive test and benchmark suite.
63  * Compatible with the built-in bitwise operations in LuaJIT 2.0.
64  * It's as fast as you can get with the standard Lua/C API.
65
66
67 [FILE:100:distinfo]
68 1207c9293dcd52eb9dca6538d1b87352bd510f4e760938f5048433f7f272ce99        23127 LuaBitOp-1.0.2.tar.gz
69
70
71 [FILE:25:manifests/plist.single]
72 %%LUA_MODLIBDIR%%/bit.so
73