diff options
author | Matti Bickel <mabi@gentoo.org> | 2007-01-05 18:13:15 +0000 |
---|---|---|
committer | Matti Bickel <mabi@gentoo.org> | 2007-01-05 18:13:15 +0000 |
commit | af57bf7e42e680fdfbc80e61eee4227ce4546cad (patch) | |
tree | d40ffc40a89103925fe688e6098e98bc2ddaa841 /dev-lang | |
parent | Fix up the remaining einfo/elog lines in vmware.eclass. (diff) | |
download | historical-af57bf7e42e680fdfbc80e61eee4227ce4546cad.tar.gz historical-af57bf7e42e680fdfbc80e61eee4227ce4546cad.tar.bz2 historical-af57bf7e42e680fdfbc80e61eee4227ce4546cad.zip |
Initial commit
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/lua-wrapper/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/lua-wrapper/Manifest | 19 | ||||
-rw-r--r-- | dev-lang/lua-wrapper/files/digest-lua-wrapper-1 | 1 | ||||
-rwxr-xr-x | dev-lang/lua-wrapper/files/lua-wrapper-1.sh | 19 | ||||
-rw-r--r-- | dev-lang/lua-wrapper/lua-wrapper-1.ebuild | 20 | ||||
-rw-r--r-- | dev-lang/lua-wrapper/metadata.xml | 14 |
6 files changed, 83 insertions, 0 deletions
diff --git a/dev-lang/lua-wrapper/ChangeLog b/dev-lang/lua-wrapper/ChangeLog new file mode 100644 index 000000000000..7ee23646bd0e --- /dev/null +++ b/dev-lang/lua-wrapper/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lang/lua-wrapper +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua-wrapper/ChangeLog,v 1.1 2007/01/05 18:13:15 mabi Exp $ + +*lua-wrapper-1 (05 Jan 2007) + + 05 Jan 2007; Matti Bickel <mabi@gentoo.org> +files/lua-wrapper-1.sh, + +lua-wrapper-1.ebuild: + Initial commit + diff --git a/dev-lang/lua-wrapper/Manifest b/dev-lang/lua-wrapper/Manifest new file mode 100644 index 000000000000..bd9eb9a20c14 --- /dev/null +++ b/dev-lang/lua-wrapper/Manifest @@ -0,0 +1,19 @@ +AUX lua-wrapper-1.sh 806 RMD160 bd0bb5c3a84a779e6dd4d613769568dd3a72dc6b SHA1 7078ee72f0c6f450c457c6f0887701bd37766363 SHA256 387964317515d0835164114dddb53d3dda165daa8a306534559ab40f2bf98073 +MD5 83982ef298f9a54e7095135effe3fe4b files/lua-wrapper-1.sh 806 +RMD160 bd0bb5c3a84a779e6dd4d613769568dd3a72dc6b files/lua-wrapper-1.sh 806 +SHA256 387964317515d0835164114dddb53d3dda165daa8a306534559ab40f2bf98073 files/lua-wrapper-1.sh 806 +EBUILD lua-wrapper-1.ebuild 436 RMD160 7158180a942fed5691df506c75ee5ae7a17bd79b SHA1 28ef20a883c662e39027fd6151c71614179299a4 SHA256 e3fdf3559a3fe3a92352d2a340bf55c2f36bc9684bf9e6fc3edc63f368acdf40 +MD5 ae8e2c454556b3148367d8c32df51549 lua-wrapper-1.ebuild 436 +RMD160 7158180a942fed5691df506c75ee5ae7a17bd79b lua-wrapper-1.ebuild 436 +SHA256 e3fdf3559a3fe3a92352d2a340bf55c2f36bc9684bf9e6fc3edc63f368acdf40 lua-wrapper-1.ebuild 436 +MISC ChangeLog 265 RMD160 2f2532b8f3d833f8e2407dc58409a6eb1f5d86ae SHA1 554ecea0a1d914d9f71b353d96d34637a2f40b4f SHA256 1fbb60bfcd5ecc422744308be5e5e630099f1a1a2083c3782eb43a8e6ab16caf +MD5 01921f6e4f805e22c2fa93e18a629517 ChangeLog 265 +RMD160 2f2532b8f3d833f8e2407dc58409a6eb1f5d86ae ChangeLog 265 +SHA256 1fbb60bfcd5ecc422744308be5e5e630099f1a1a2083c3782eb43a8e6ab16caf ChangeLog 265 +MISC metadata.xml 381 RMD160 19983035371fcbe536b915299b21b454368f4e16 SHA1 d86eec6075e6a9185e1cbddd96bf06509f1300d9 SHA256 28762d1997d0cdf900d84242998d968febaa25b974db4b202d46eac3481858cc +MD5 aed67f0fa8c4facfef1ad106021cac3e metadata.xml 381 +RMD160 19983035371fcbe536b915299b21b454368f4e16 metadata.xml 381 +SHA256 28762d1997d0cdf900d84242998d968febaa25b974db4b202d46eac3481858cc metadata.xml 381 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-lua-wrapper-1 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-lua-wrapper-1 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-lua-wrapper-1 1 diff --git a/dev-lang/lua-wrapper/files/digest-lua-wrapper-1 b/dev-lang/lua-wrapper/files/digest-lua-wrapper-1 new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/dev-lang/lua-wrapper/files/digest-lua-wrapper-1 @@ -0,0 +1 @@ + diff --git a/dev-lang/lua-wrapper/files/lua-wrapper-1.sh b/dev-lang/lua-wrapper/files/lua-wrapper-1.sh new file mode 100755 index 000000000000..11f745c72ff8 --- /dev/null +++ b/dev-lang/lua-wrapper/files/lua-wrapper-1.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# This script symlinks /usr/bin/lua, /usr/bin/luac to the appropiate Lua binarys +# indicated by WANT_LUA +# Example usage: WANT_LUA="5.0" lua-config + +if [[ -n ${WANT_LUA} ]]; then + if [[ -f /usr/bin/lua-${WANT_LUA} && -f /usr/bin/luac-${WANT_LUA} ]]; then + if [[ ! -f /usr/bin/lua && ! -f /usr/bin/luac ]]; then + ln -sf /usr/bin/lua-${WANT_LUA} /usr/bin/lua + ln -sf /usr/bin/luac-${WANT_LUA} /usr/bin/luac + else + echo "Not going to overwrite regular files. Either lua or luac are regular files." + fi + else + echo "The lua version you wanted (${WANT_LUA}) is not avaible. Make sure to specify the version string as X.y where X and y are major and minor version numbers" + fi +else + echo "Please set the WANT_LUA enviroment variable to the lua version you wish to use, eg: WANT_LUA='5.1'" +fi diff --git a/dev-lang/lua-wrapper/lua-wrapper-1.ebuild b/dev-lang/lua-wrapper/lua-wrapper-1.ebuild new file mode 100644 index 000000000000..7178f2d93fb1 --- /dev/null +++ b/dev-lang/lua-wrapper/lua-wrapper-1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua-wrapper/lua-wrapper-1.ebuild,v 1.1 2007/01/05 18:13:15 mabi Exp $ + +DESCRIPTION="A small shell script to choose the enable different lua versions" +HOMEPAGE="http://dev.gentoo.org/~mabi/lua-wrapper/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_install () { + exeinto /usr/bin + newexe ${FILESDIR}/${P}.sh lua-config || die "Install failed" +} diff --git a/dev-lang/lua-wrapper/metadata.xml b/dev-lang/lua-wrapper/metadata.xml new file mode 100644 index 000000000000..71c75e447f89 --- /dev/null +++ b/dev-lang/lua-wrapper/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd></herd> + <maintainer> + <email>mabi@gentoo.org</email> + <name>Matti Bickel</name> + </maintainer> + <longdescription lang="en"> + This is a small config script to set the symlinks for the slotted + versions of lua. + </longdescription> +</pkgmetadata> + |