summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom William Payne <twp@gentoo.org>2003-12-22 18:37:48 +0000
committerTom William Payne <twp@gentoo.org>2003-12-22 18:37:48 +0000
commitd3175a8d8bdda360ad4feb737d71778c82182b0a (patch)
tree2c50eeaa1a93086a8a4fe6ceead5ab10a7616f54 /dev-lang
parentRemoved trailing whitespace (diff)
downloadgentoo-2-d3175a8d8bdda360ad4feb737d71778c82182b0a.tar.gz
gentoo-2-d3175a8d8bdda360ad4feb737d71778c82182b0a.tar.bz2
gentoo-2-d3175a8d8bdda360ad4feb737d71778c82182b0a.zip
See ChangeLog
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/lua/ChangeLog6
-rw-r--r--dev-lang/lua/Manifest9
-rw-r--r--dev-lang/lua/files/digest-lua-5.0.1_beta20031003-r12
-rw-r--r--dev-lang/lua/lua-5.0.1_beta20031003-r1.ebuild86
-rw-r--r--dev-lang/lua/metadata.xml9
5 files changed, 108 insertions, 4 deletions
diff --git a/dev-lang/lua/ChangeLog b/dev-lang/lua/ChangeLog
index 049f17f048f3..a669fd1024ee 100644
--- a/dev-lang/lua/ChangeLog
+++ b/dev-lang/lua/ChangeLog
@@ -1,9 +1,13 @@
# 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.12 2003/12/20 00:12:53 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.13 2003/12/22 18:37:39 twp Exp $
*lua-5.0.1_beta20031003 (21 Nov 2003)
+ 21 Dec 2003; Tom Payne <twp@gentoo.org> lua-5.0.1_beta20031003.ebuild-r1, metadata.xml :
+ Install all READMEs. Use dl and readline. Install various bits from etc/.
+ Add pkg-config script. Added metadata.xml.
+
20 Dec 2003; Guy Martin <gmsoft@gentoo.org> lua-5.0.1_beta20031003.ebuild,
files/lua-5.0.1-pic.patch :
Added a pic patch to use -fPIC flag correctly. This fix hppa compilation.
diff --git a/dev-lang/lua/Manifest b/dev-lang/lua/Manifest
index 58071b978271..d1aad5c1b66e 100644
--- a/dev-lang/lua/Manifest
+++ b/dev-lang/lua/Manifest
@@ -1,13 +1,16 @@
-MD5 186a59a0e542e94d57f3cb0f3bee19f7 ChangeLog 1850
+MD5 694cdbee67fb5e9f083a4b64932c0016 ChangeLog 2060
MD5 85a5eb8f8b7221914e902987d0cab50b lua-4.0.1.ebuild 741
MD5 77423167968c443c7977b7aa6fabe21f lua-4.0.ebuild 730
-MD5 e7f1fcb156df4331b269e0cffce38e72 lua-5.0.1_beta20031003.ebuild 1353
MD5 f1d4d3d77ecbb61e83996fcf49225bdd lua-5.0.ebuild 1052
MD5 5b5c840855f0b8c00be987b30fcbf792 lua-5.0_beta.ebuild 1004
+MD5 dc5c388395315adbd8f8eb9e6fa6b921 lua-5.0.1_beta20031003.ebuild 1347
+MD5 b23ee27c44171e54abcb0228c2024ce1 lua-5.0.1_beta20031003-r1.ebuild 2244
+MD5 d992d28bec4a3bfd72b441145091a58e metadata.xml 244
MD5 7bb76903226a11484013e9657e217025 files/digest-lua-4.0 55
MD5 652889fa621a25d6dc41ce0eb76bd5c2 files/digest-lua-4.0.1 61
MD5 aa4434c9f3a86a28f227df41cb874093 files/digest-lua-5.0 185
-MD5 c2dcb2188a959fae7d1f0e86ba276837 files/digest-lua-5.0.1_beta20031003 124
MD5 620a2e3bbbe7594ab1989164430fc081 files/digest-lua-5.0_beta 196
MD5 6365486c1e78a5fc73e34a3bda3feef7 files/lua-4.0-config.patch 840
+MD5 c2dcb2188a959fae7d1f0e86ba276837 files/digest-lua-5.0.1_beta20031003 124
+MD5 c2dcb2188a959fae7d1f0e86ba276837 files/digest-lua-5.0.1_beta20031003-r1 124
MD5 48a12e850720480ed45115452657c493 files/lua-5.0.1-pic.patch 1306
diff --git a/dev-lang/lua/files/digest-lua-5.0.1_beta20031003-r1 b/dev-lang/lua/files/digest-lua-5.0.1_beta20031003-r1
new file mode 100644
index 000000000000..c4de5bb9d53c
--- /dev/null
+++ b/dev-lang/lua/files/digest-lua-5.0.1_beta20031003-r1
@@ -0,0 +1,2 @@
+MD5 6f14803fad389fb1cb15d17edfeddd91 lua-5.0.tar.gz 187287
+MD5 77faaf8a360922f482b4a9eb51790490 lua-5.0-update.tar.gz 36613
diff --git a/dev-lang/lua/lua-5.0.1_beta20031003-r1.ebuild b/dev-lang/lua/lua-5.0.1_beta20031003-r1.ebuild
new file mode 100644
index 000000000000..c12359d1cda6
--- /dev/null
+++ b/dev-lang/lua/lua-5.0.1_beta20031003-r1.ebuild
@@ -0,0 +1,86 @@
+# 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.1_beta20031003-r1.ebuild,v 1.1 2003/12/22 18:37:39 twp Exp $
+
+DESCRIPTION="A powerful light-weight programming language designed for extending applications"
+HOMEPAGE="http://www.lua.org/"
+SRC_URI="http://www.lua.org/ftp/lua-5.0.tar.gz
+ http://www.tecgraf.puc-rio.br/lua/work/lua-5.0-update.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~arm ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE="readline"
+DEPEND=">=sys-apps/sed-4
+ sys-apps/findutils"
+S=${WORKDIR}/lua-5.0.1
+
+src_unpack() {
+
+ unpack lua-5.0.tar.gz || die
+ mv lua-5.0 lua-5.0.1
+ unpack lua-5.0-update.tar.gz || die
+
+ epatch ${FILESDIR}/lua-5.0.1-pic.patch
+
+ cd ${S}
+
+ sed -i config \
+ -e 's:^#\(LOADLIB= -DUSE_DLOPEN=1\):\1:' \
+ -e 's:^#\(DLLIB= -ldl\):\1:' \
+ -e 's:^#\(MYLDFLAGS= -Wl,-E\):\1:' \
+ -e 's:^#\(POPEN= -DUSE_POPEN=1\)$:\1:' \
+ -e "s:^\(MYCFLAGS= \)-O2:\1${CFLAGS}:" \
+ -e 's:^\(INSTALL_ROOT= \)/usr/local:\1$(DESTDIR)/usr:' \
+ -e 's:^\(INSTALL_MAN= $(INSTALL_ROOT)\)/man/man1:\1/share/man/man1:'
+
+ sed -i doc/readme.html \
+ -e 's:\(/README\)\("\):\1.gz\2:g'
+
+ if [ `use readline` ]; then
+ sed -i config \
+ -e "s:^#\(USERCONF=-DLUA_USERCONFIG='\"\$(LUA)/etc/saconfig.c\"' -DUSE_READLINE\):\1:" \
+ -e 's:^#\(EXTRA_LIBS= -lm -ldl -lreadline\) # \(-lhistory -lcurses -lncurses\):\1 \2:'
+ fi
+
+ cat >etc/lua.pc <<EOF
+prefix=/usr
+exec_prefix=\${prefix}
+includedir=\${prefix}/include
+libdir=\${exec_prefix}/lib
+
+Name: Lua
+Description: An extension programming language
+Version: ${PV/_*/}
+Cflags: -I\${includedir}
+Libs: -L\${libdir} -llua -llualib -ldl -lm
+EOF
+
+}
+
+src_compile() {
+ export PICFLAGS=-fPIC
+ emake || die "emake failed"
+ emake so || die "emake so failed"
+}
+
+src_install() {
+
+ make DESTDIR=${D} install soinstall || die "make install soinstall failed"
+
+ dodoc COPYRIGHT HISTORY UPDATE
+ dohtml doc/*.html doc/*.gif
+ for i in `find . -name README -printf "%h\n"`; do
+ docinto ${i#.}
+ dodoc ${i}/README
+ done
+
+ insinto /usr/share/lua
+ doins etc/compat.lua
+ insinto /etc
+ newins etc/lua.magic magic
+ insinto /usr/share/pixmaps
+ doins etc/lua.xpm
+ insinto /usr/lib/pkgconfig
+ doins etc/lua.pc
+
+}
diff --git a/dev-lang/lua/metadata.xml b/dev-lang/lua/metadata.xml
new file mode 100644
index 000000000000..d9bb4626fb2b
--- /dev/null
+++ b/dev-lang/lua/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>twp@gentoo.org</email>
+ <name>Tom Payne</name>
+</maintainer>
+</pkgmetadata>