diff options
Diffstat (limited to 'dev-lang/luajit/luajit-1.1.6.ebuild')
-rw-r--r-- | dev-lang/luajit/luajit-1.1.6.ebuild | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/dev-lang/luajit/luajit-1.1.6.ebuild b/dev-lang/luajit/luajit-1.1.6.ebuild deleted file mode 100644 index 880ea2361374..000000000000 --- a/dev-lang/luajit/luajit-1.1.6.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit pax-utils - -MY_P="LuaJIT-${PV}" - -DESCRIPTION="A Just-In-Time Compiler for the Lua programming language" -HOMEPAGE="http://luajit.org/" -SRC_URI="http://luajit.org/download/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="1" -KEYWORDS="~amd64 ~x86" -IUSE="readline" - -DEPEND="readline? ( sys-libs/readline )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_prepare(){ - # fixing prefix - sed -i -e "s#/usr/local#${D}/usr#" Makefile \ - || die "failed to fix prefix in Makefile" - sed -i -e 's#/usr/local/#/usr/#' src/luaconf.h \ - || die "failed to fix prefix in luaconf.h" - - # forcing the use of our CFLAGS - sed -i -e "s/\$(MYCFLAGS)/\$(MYCFLAGS) ${CFLAGS}/" src/Makefile \ - || die "failed to force the use of the CFLAGS from the user" -} - -src_compile(){ - if use readline; then - emake linux_rl || die "emake failed." - else - emake linux || die "emake failed." - fi -} - -src_install(){ - einstall - - # removing empty dir that was supposed to have the man pages. - # dev-lang/luajit:1 doesn't install man pages. - rm -rf "${D}usr/man" - - mv "${D}usr/bin/luajit" "${D}usr/bin/luajit-${PV}" || die "mv failed!" - pax-mark m "${D}usr/bin/luajit-${PV}" - dosym "luajit-${PV}" "/usr/bin/luajit-${SLOT}" -} |