diff options
Diffstat (limited to 'dev-lua/lua-compat')
-rw-r--r-- | dev-lua/lua-compat/Manifest | 1 | ||||
-rw-r--r-- | dev-lua/lua-compat/lua-compat-0.3-r3.ebuild | 43 |
2 files changed, 0 insertions, 44 deletions
diff --git a/dev-lua/lua-compat/Manifest b/dev-lua/lua-compat/Manifest deleted file mode 100644 index 1b97b26..0000000 --- a/dev-lua/lua-compat/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST lua-compat-0.3.tar.gz 22407 BLAKE2B f8fa3aba2aab85b701c688a771e59b664c6541d1048c8e9d9a846e4458fffff451fba40f72f5e6d4310f533d860269e07f5135d3f44aa1b61de9755df8c2834a SHA512 b6b70162d5b25e3cc646613ee62a8f136903b4e0ae749285105429cce0e5d3eebc3295aa98749239651dd67d5ee55199172267cefb1588969093770a7e82ac96 diff --git a/dev-lua/lua-compat/lua-compat-0.3-r3.ebuild b/dev-lua/lua-compat/lua-compat-0.3-r3.ebuild deleted file mode 100644 index 9ba5737..0000000 --- a/dev-lua/lua-compat/lua-compat-0.3-r3.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Lua-5.2-style APIs for Lua 5.1" -HOMEPAGE="https://github.com/keplerproject/lua-compat-5.2" -SRC_URI="https://github.com/keplerproject/lua-compat-5.2/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+bit32 +compat52" - -RDEPEND="dev-lang/lua:=" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/lua-compat-5.2-0.3" - -src_compile() { - if use bit32; then - $(tc-getCC) $($(tc-getBUILD_PKG_CONFIG) --cflags --libs lua5.1) \ - ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIC -shared \ - -I c-api -o bit32.so lbitlib.c || die - fi -} - -src_install() { - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)" - if use bit32; then - doins bit32.so - fi - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)" - if use compat52; then - doins compat52.lua - newins compat52/strict.lua compat52.strict.lua - newins compat52/mstrict.lua compat52.mstrict.lua - fi -} - |