Add alternatives for Lua packages.

XXX It's not clear to me whether liblua5.x.so and liblua5.x.so.5.0.x
should be in the list too. I wish alternatives framework was documented ...
This commit is contained in:
alnsn 2014-05-03 13:57:33 +00:00
parent 331cb93fb1
commit 53571f1f9e
2 changed files with 6 additions and 0 deletions

3
lang/lua51/ALTERNATIVES Normal file
View file

@ -0,0 +1,3 @@
bin/lua5.1 @PREFIX@/bin/lua
bin/luac5.1 @PREFIX@/bin/luac
lib/pkgconfig/lua-5.1.pc @PREFIX@/lib/pkgconfig/lua.pc

3
lang/lua52/ALTERNATIVES Normal file
View file

@ -0,0 +1,3 @@
bin/lua5.2 @PREFIX@/bin/lua
bin/luac5.2 @PREFIX@/bin/luac
lib/pkgconfig/lua-5.2.pc @PREFIX@/lib/pkgconfig/lua.pc