diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/luajit.pc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/luajit.pc b/lib/luajit.pc new file mode 100644 index 0000000..2e98b78 --- /dev/null +++ b/lib/luajit.pc | |||
@@ -0,0 +1,25 @@ | |||
1 | # Package information for LuaJIT to be used by pkg-config. | ||
2 | majver=2 | ||
3 | minver=0 | ||
4 | relver=4 | ||
5 | version=${majver}.${minver}.${relver} | ||
6 | abiver=5.1 | ||
7 | |||
8 | prefix=/usr/local/ | ||
9 | multilib=lib | ||
10 | exec_prefix=${prefix} | ||
11 | libdir=${exec_prefix}/${multilib} | ||
12 | libname=luajit-${abiver} | ||
13 | includedir=${prefix}/include/luajit-${majver}.${minver} | ||
14 | |||
15 | INSTALL_LMOD=${prefix}/share/lua/${abiver} | ||
16 | INSTALL_CMOD=${prefix}/${multilib}/lua/${abiver} | ||
17 | |||
18 | Name: LuaJIT | ||
19 | Description: Just-in-time compiler for Lua | ||
20 | URL: http://luajit.org | ||
21 | Version: ${version} | ||
22 | Requires: | ||
23 | Libs: -L${libdir} -l${libname} | ||
24 | Libs.private: -Wl,-E -lm -ldl | ||
25 | Cflags: -I${includedir} | ||