summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/lua')
-rw-r--r--dev-lang/lua/ChangeLog8
-rw-r--r--dev-lang/lua/files/digest-lua-5.0_beta3
-rw-r--r--dev-lang/lua/lua-5.0_beta.ebuild30
3 files changed, 40 insertions, 1 deletions
diff --git a/dev-lang/lua/ChangeLog b/dev-lang/lua/ChangeLog
index 0dfd08b41b75..ae25f9cdbb0a 100644
--- a/dev-lang/lua/ChangeLog
+++ b/dev-lang/lua/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/lua
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.7 2003/02/12 05:56:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.8 2003/04/09 22:48:16 twp Exp $
+
+*lua-5.0_beta (09 Apr 2003)
+
+ 09 Apr 2003; Tom Payne <twp@gentoo.org> lua-5.0_beta.ebuild :
+
+ Version bump. Install docs. Tidied ebuild.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/dev-lang/lua/files/digest-lua-5.0_beta b/dev-lang/lua/files/digest-lua-5.0_beta
new file mode 100644
index 000000000000..abdf7e8feaa2
--- /dev/null
+++ b/dev-lang/lua/files/digest-lua-5.0_beta
@@ -0,0 +1,3 @@
+MD5 6365486c1e78a5fc73e34a3bda3feef7 /files/lua-4.0-config.patch 840
+MD5 daf3193a1d7a639665b4515be41c61e9 /lua-5.0_beta.ebuild 1004
+MD5 921c6bb91fc3370269a81266f5d5e2e5 lua-5.0-beta.tar.gz 191718
diff --git a/dev-lang/lua/lua-5.0_beta.ebuild b/dev-lang/lua/lua-5.0_beta.ebuild
new file mode 100644
index 000000000000..5e57167b95de
--- /dev/null
+++ b/dev-lang/lua/lua-5.0_beta.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.0_beta.ebuild,v 1.1 2003/04/09 22:48:16 twp Exp $
+
+MY_P=`echo ${P} | sed -e 's/_beta/-beta/'`
+DESCRIPTION="A powerful light-weight programming language designed for extending applications"
+HOMEPAGE="http://www.lua.org/"
+SRC_URI="http://www.lua.org/ftp/${MY_P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND="virtual/glibc"
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ cp config config.orig
+ sed -e 's:^#POPEN= -DUSE_POPEN$:POPEN= -DUSE_POPEN:' \
+ -e "s:^MYCFLAGS= -O2:MYCFLAGS= ${CFLAGS}:" \
+ -e 's:INSTALL_ROOT= /usr/local:INSTALL_ROOT= $(DESTDIR)/usr:' \
+ -e 's:INSTALL_MAN= $(INSTALL_ROOT)/man/man1:INSTALL_MAN= $(INSTALL_ROOT)/share/man/man1:' \
+ config.orig > config
+ emake || die
+ emake so || die
+}
+
+src_install() {
+ make DESTDIR=${D} install soinstall || die
+ dodoc COPYRIGHT HISTORY README
+ dohtml doc/*.html doc/*.gif
+}