Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2018

Summary: lua-4.0.ebuild (New Package)
Product: Gentoo Linux Reporter: Larry Cow <larrycow>
Component: New packagesAssignee: Ryan Phillips (RETIRED) <rphillips>
Status: RESOLVED FIXED    
Severity: enhancement CC: larrycow, seemant
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 2019    
Attachments: lua-4.0.ebuild

Description Larry Cow 2002-04-22 22:44:14 UTC
Hello,
there is a package named lua.tgz. It contains lua-4.0.ebuild, and a
gentoo-dedicaced configuration file.

Lua is a programming language created too extend existing application. See it
like an easy way to add scripting to your applications. More information on
http://www.lua.org

I suggest this ebuild goes in dev-lang/lua.
Comment 1 Larry Cow 2002-04-22 22:45:50 UTC
Created attachment 645 [details]
lua-4.0.ebuild
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-04-23 02:02:03 UTC
As well as this one.
Comment 3 Ryan Phillips (RETIRED) gentoo-dev 2002-04-23 12:24:03 UTC
Larry Cow: What is the attachement compressed as?
Comment 4 Larry Cow 2002-04-23 12:55:01 UTC
Ryan: Ooops, it's a tgz. Sorry for the inconvenience, I'll do better next time :/
Comment 5 Ryan Phillips (RETIRED) gentoo-dev 2002-04-23 18:12:49 UTC
Not a problem.

Larry, I'm getting sandbox errors upon merge at:
  /usr/bin/lua
  /usr/bin/luac

Any ideas?
Comment 6 Larry Cow 2002-04-24 06:54:28 UTC
Ryan: Uh, what do you mean by "sandbox errors" ? :/
Comment 7 Ryan Phillips (RETIRED) gentoo-dev 2002-04-24 19:54:18 UTC
Sandbox errors accur when the script or configuration scripts tried to write
files outside of the designated build environment.

Seemant: Do you know how to fix this issue?
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-24 20:08:36 UTC
Ryan, I will have a look at the ebuild.
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-24 20:20:17 UTC
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Larry Cow <larrycow@free.fr>
# /space/gentoo/cvsroot/gentoo-x86/dev-lang/lua/lua-4.0.ebuild

S=${WORKDIR}/${PN}
DESCRIPTION="A powerful light-weight programming language designed for extending
applications."
SRC_URI="http://www.lua.org/ftp/${PN}.tar.gz"
HOMEPAGE="http://www.lua.org/"

src_compile() {

        cp ${FILESDIR}/config ./config

        emake || die
        make so || die
}

src_install () {
        make \
                INSTALL_BIN=${D}/usr/bin \
                INSTALL_MAN=${D}/usr/share/man/man1 \
                INSTALL_INC=${D}/usr/include \
                INSTALL_LIB=${D}/usr/lib \
                install || die
}
Comment 10 Ryan Phillips (RETIRED) gentoo-dev 2002-04-24 20:58:31 UTC
committed