summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2007-03-06 22:15:09 +0000
committerMatti Bickel <mabi@gentoo.org>2007-03-06 22:15:09 +0000
commit7d5e2e1883cbdf33d6dfb463ab852b35bf81141f (patch)
tree49a2a9fa30d6f0b5959416d058c05773177f452b
parentCleanup. (diff)
downloadhistorical-7d5e2e1883cbdf33d6dfb463ab852b35bf81141f.tar.gz
historical-7d5e2e1883cbdf33d6dfb463ab852b35bf81141f.tar.bz2
historical-7d5e2e1883cbdf33d6dfb463ab852b35bf81141f.zip
fix to the .pc file
Package-Manager: portage-2.1.2.1
-rw-r--r--dev-lang/lua/ChangeLog7
-rw-r--r--dev-lang/lua/Manifest25
-rw-r--r--dev-lang/lua/files/digest-lua-5.1.1-r23
-rw-r--r--dev-lang/lua/lua-5.1.1-r2.ebuild100
4 files changed, 130 insertions, 5 deletions
diff --git a/dev-lang/lua/ChangeLog b/dev-lang/lua/ChangeLog
index 77310bb9e231..0a062c4d6b86 100644
--- a/dev-lang/lua/ChangeLog
+++ b/dev-lang/lua/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/lua
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.66 2007/02/03 18:06:10 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.67 2007/03/06 22:15:09 mabi Exp $
+
+*lua-5.1.1-r2 (06 Mar 2007)
+
+ 06 Mar 2007; Matti Bickel <mabi@gentoo.org> +lua-5.1.1-r2.ebuild:
+ fix to the .pc file
03 Feb 2007; Jason Wever <weeve@gentoo.org> lua-5.1.1.ebuild:
Added ~sparc keyword wrt bugs #155518 and 162985.
diff --git a/dev-lang/lua/Manifest b/dev-lang/lua/Manifest
index a998ea82aa48..93e62b1e5a71 100644
--- a/dev-lang/lua/Manifest
+++ b/dev-lang/lua/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX lua-5.0.2-LDFLAGS_and_as-needed.patch 1837 RMD160 2dd54660c8646e9eaf206c96bad9adee326fb567 SHA1 f9f50ab6df8cd946daa8c108a3a48168b2c75f65 SHA256 3bf1a4ef14e02ca8203b3d4eaeab44e2455ec8f186f58f1e5674ab5d9a28689c
MD5 d2ccba11aed9263920a7fd316d528f00 files/lua-5.0.2-LDFLAGS_and_as-needed.patch 1837
RMD160 2dd54660c8646e9eaf206c96bad9adee326fb567 files/lua-5.0.2-LDFLAGS_and_as-needed.patch 1837
@@ -57,14 +60,18 @@ EBUILD lua-5.0.3.ebuild 3081 RMD160 8ee395f7eb18073d7ed67089e32d93dfd315d7fe SHA
MD5 66a630518f24ea10d8629e74044a77d4 lua-5.0.3.ebuild 3081
RMD160 8ee395f7eb18073d7ed67089e32d93dfd315d7fe lua-5.0.3.ebuild 3081
SHA256 6704da89015a67bc0e6f5664a9438f0b7a82eb2e102ce6da973194c0e626eea2 lua-5.0.3.ebuild 3081
+EBUILD lua-5.1.1-r2.ebuild 2556 RMD160 874d3f9a1fbb8fe8679c2b1d90d7d262c99d608d SHA1 7642a62246903c0c49f6d46bee883c8207dc8aaa SHA256 c0cabfd0bb28066d015ef3e4693fa20e01a1229ae0078b6080eba321b7d8ef59
+MD5 17d1460e5c72f2791ffbf6f8405235e5 lua-5.1.1-r2.ebuild 2556
+RMD160 874d3f9a1fbb8fe8679c2b1d90d7d262c99d608d lua-5.1.1-r2.ebuild 2556
+SHA256 c0cabfd0bb28066d015ef3e4693fa20e01a1229ae0078b6080eba321b7d8ef59 lua-5.1.1-r2.ebuild 2556
EBUILD lua-5.1.1.ebuild 2469 RMD160 ba7b6039fb6b0f88e944d9d2509390d807e9ffe0 SHA1 87ad454449fba6e97e9b1040496a05b99a079e9d SHA256 159b43a5866d28f5251ca98461e908e93e3d9dd61b538e77f89687a2365ded70
MD5 a0e1b789126dc1c98b8ec0bb7cdcbeb0 lua-5.1.1.ebuild 2469
RMD160 ba7b6039fb6b0f88e944d9d2509390d807e9ffe0 lua-5.1.1.ebuild 2469
SHA256 159b43a5866d28f5251ca98461e908e93e3d9dd61b538e77f89687a2365ded70 lua-5.1.1.ebuild 2469
-MISC ChangeLog 9511 RMD160 22319b4ac9953db8107e6dbed9e3c68aaec965b0 SHA1 78f3be4946a1b5bae0e61e9e577a34cf6be25cbc SHA256 bc8e6b66e2bd1aea9f2473f021bbb7a442e7def02ee01467f230c1d8e7273577
-MD5 a5e72016b7068d062e4baf18c2dfe016 ChangeLog 9511
-RMD160 22319b4ac9953db8107e6dbed9e3c68aaec965b0 ChangeLog 9511
-SHA256 bc8e6b66e2bd1aea9f2473f021bbb7a442e7def02ee01467f230c1d8e7273577 ChangeLog 9511
+MISC ChangeLog 9630 RMD160 56dcb434633847ff325ef0d330db1e4073d78619 SHA1 55e427096af104309d0cf0587996273e35c84716 SHA256 664a7a7e8c11a88a0a3e7946d50b6c24048ad41897380a46fb598ec4065475b6
+MD5 17cf2e9fd8bbb5ed2342a67835fff1e0 ChangeLog 9630
+RMD160 56dcb434633847ff325ef0d330db1e4073d78619 ChangeLog 9630
+SHA256 664a7a7e8c11a88a0a3e7946d50b6c24048ad41897380a46fb598ec4065475b6 ChangeLog 9630
MISC metadata.xml 246 RMD160 d8be15833db0ddabf74171f9e87a2a930ad6bcd2 SHA1 76fdc0af8e2d1dbb1214b95c49f8cd2da3d3832a SHA256 6a089a75a70b3b69d4cae78762fdc69afa25678c5b8692c61245f50bc49ab531
MD5 ae5edc540c3c3ae7307d2ac4c0e16773 metadata.xml 246
RMD160 d8be15833db0ddabf74171f9e87a2a930ad6bcd2 metadata.xml 246
@@ -78,3 +85,13 @@ SHA256 4a4b5a506f9226dc2e8bb8d52129a6c4b66f27b7d9d0a91c81b0379605c34d0f files/di
MD5 541613cc1c7f33c6ab0e8858d2812bc2 files/digest-lua-5.1.1 229
RMD160 8dbfca4720b6ff909dc6f2fa3496373083970771 files/digest-lua-5.1.1 229
SHA256 5a9bfa07cd7871412eacd8a0285b69aaac0d01b635406b2d2c24569cb0c7042c files/digest-lua-5.1.1 229
+MD5 541613cc1c7f33c6ab0e8858d2812bc2 files/digest-lua-5.1.1-r2 229
+RMD160 8dbfca4720b6ff909dc6f2fa3496373083970771 files/digest-lua-5.1.1-r2 229
+SHA256 5a9bfa07cd7871412eacd8a0285b69aaac0d01b635406b2d2c24569cb0c7042c files/digest-lua-5.1.1-r2 229
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFF7ee1fNMcoUhJ7GwRAl/ZAJ0a58VPluWFx3xgFTZkGa/k22jkBwCdFUjZ
+f5hqyLWsWQ+pJ+spSFNRDdA=
+=cdwq
+-----END PGP SIGNATURE-----
diff --git a/dev-lang/lua/files/digest-lua-5.1.1-r2 b/dev-lang/lua/files/digest-lua-5.1.1-r2
new file mode 100644
index 000000000000..5a0845c161bb
--- /dev/null
+++ b/dev-lang/lua/files/digest-lua-5.1.1-r2
@@ -0,0 +1,3 @@
+MD5 22f4f912f20802c11006fe9b84d5c461 lua-5.1.1.tar.gz 207810
+RMD160 0b9cc31cca1a0f4c2ebb62f177dc157677953a4c lua-5.1.1.tar.gz 207810
+SHA256 c5daeed0a75d8e4dd2328b7c7a69888247868154acbda69110e97d4a6e17d1f0 lua-5.1.1.tar.gz 207810
diff --git a/dev-lang/lua/lua-5.1.1-r2.ebuild b/dev-lang/lua/lua-5.1.1-r2.ebuild
new file mode 100644
index 000000000000..cb999df46fc4
--- /dev/null
+++ b/dev-lang/lua/lua-5.1.1-r2.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.1-r2.ebuild,v 1.1 2007/03/06 22:15:09 mabi Exp $
+
+inherit eutils portability
+
+DESCRIPTION="A powerful light-weight programming language designed for extending applications"
+HOMEPAGE="http://www.lua.org/"
+SRC_URI="http://www.lua.org/ftp/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="readline static"
+
+RDEPEND="readline? ( sys-libs/readline )"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-make.patch
+ epatch "${FILESDIR}"/${P}-module_paths.patch
+
+ sed -i -e 's:\(/README\)\("\):\1.gz\2:g' doc/readme.html
+
+ if ! use readline ; then
+ epatch "${FILESDIR}"/${P}-readline.patch
+ fi
+
+ # Using dynamic linked lua is not recommended upstream for performance
+ # reasons. http://article.gmane.org/gmane.comp.lang.lua.general/18519
+ # Mainly, this is of concern if your arch is poor with GPRs, like x86
+ # Note that the lua compiler is build statically anyway
+ if use static ; then
+ epatch "${FILESDIR}"/${P}-make_static.patch
+ fi
+
+ # We want packages to find our things...
+ sed -i -e 's:/usr/local:/usr:' etc/lua.pc
+}
+
+src_compile() {
+ myflags=
+ # what to link to liblua
+ liblibs="-lm"
+ if use ppc-macos; then
+ mycflags="${mycflags} -DLUA_USE_MACOSX"
+ else # building for standard linux (and bsd too)
+ mycflags="${mycflags} -DLUA_USE_LINUX"
+ liblibs="${liblibs} $(dlopen_lib)"
+ fi
+
+ # what to link to the executables
+ mylibs=
+ if use readline; then
+ mylibs="-lreadline"
+ fi
+
+ cd src
+ emake CFLAGS="${mycflags} ${CFLAGS}" \
+ RPATH="/usr/$(get_libdir)/" \
+ LUA_LIBS="${mylibs}" \
+ LIB_LIBS="${liblibs}" \
+ V=${PV} \
+ gentoo_all || die "emake failed"
+
+ mv lua_test ../test/lua.static
+}
+
+src_install() {
+ emake INSTALL_TOP="${D}/usr/" INSTALL_LIB="${D}/usr/$(get_libdir)/" \
+ V=${PV} gentoo_install \
+ || die "emake install gentoo_install failed"
+
+ dodoc HISTORY README
+ dohtml doc/*.html doc/*.gif
+
+ insinto /usr/share/pixmaps
+ doins etc/lua.ico
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins etc/lua.pc
+}
+
+src_test() {
+ local positive="bisect cf echo env factorial fib fibfor hello printf sieve
+ sort trace-calls trace-globals"
+ local negative="readonly"
+ local test
+
+ cd "${S}"
+ for test in ${positive}; do
+ test/lua.static test/${test}.lua &> /dev/null || die "test $test failed"
+ done
+
+ for test in ${negative}; do
+ test/lua.static test/${test}.lua &> /dev/null && die "test $test failed"
+ done
+}