summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-08-21 17:58:35 +0300
committerAli Polatel <hawking@gentoo.org>2008-08-21 17:58:35 +0300
commit9da8b0c3c748d6d9bb21781ebcfaa8000ca50e76 (patch)
treec6e4eed5562c6fad4f71828d317a98a749df7cc1 /dev-lua
parentFix manifest (diff)
downloadhawking-9da8b0c3c748d6d9bb21781ebcfaa8000ca50e76.tar.gz
hawking-9da8b0c3c748d6d9bb21781ebcfaa8000ca50e76.tar.bz2
hawking-9da8b0c3c748d6d9bb21781ebcfaa8000ca50e76.zip
Added dev-lua/luarocks
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luarocks/ChangeLog9
-rw-r--r--dev-lua/luarocks/Manifest3
-rw-r--r--dev-lua/luarocks/luarocks-0.6.0.2.ebuild33
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-lua/luarocks/ChangeLog b/dev-lua/luarocks/ChangeLog
new file mode 100644
index 0000000..be0af5f
--- /dev/null
+++ b/dev-lua/luarocks/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-lua/luarocks
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*luarocks-0.6.0.2 (21 Aug 2008)
+
+ 21 Aug 2008; Ali Polatel <hawking@gentoo.org> +luarocks-0.6.0.2.ebuild:
+ Initial ebuild
+
diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest
new file mode 100644
index 0000000..eeeabb7
--- /dev/null
+++ b/dev-lua/luarocks/Manifest
@@ -0,0 +1,3 @@
+DIST luarocks-0.6.0.2.tar.gz 47366 RMD160 95466e68b0a84f20c8ccfb61b4e0c792ab61db92 SHA1 3e8200774122e07443f9cf69889336f8e8af44ed SHA256 481d57c99157c71e8f84323b3832c5b3edaec1e1b35f935e712517094bcdd767
+EBUILD luarocks-0.6.0.2.ebuild 869 RMD160 a5f653c3342bd23a40e8a236f410ec38fe686107 SHA1 34e82786f273174e8d85b431607a8776c7b20892 SHA256 e77321141b64d22229807cdaf78e3d2ef2c2d7cc862b905e336b907504c17440
+MISC ChangeLog 242 RMD160 3f8dccdca87b39a2753b5f52cfd5e47e3980a127 SHA1 07ae375057fb37ed804186319d0d7d200440850f SHA256 b808a07792859800ae9d557c67a27e4ae296dcba7698822eb68e5751b3000bce
diff --git a/dev-lua/luarocks/luarocks-0.6.0.2.ebuild b/dev-lua/luarocks/luarocks-0.6.0.2.ebuild
new file mode 100644
index 0000000..cad0c9e
--- /dev/null
+++ b/dev-lua/luarocks/luarocks-0.6.0.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="A system that allows the versioning of Lua packages and their dependencies."
+HOMEPAGE="http://luaforge.net/projects/luarocks/"
+SRC_URI="http://luaforge.net/frs/download.php/3516/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/lua-5.1"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ # Not a standard configure script
+ ./configure --prefix=/usr || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ keepdir /usr/$(get_libdir)/luarocks
+}
+
+pkg_postinst() {
+ elog "To be able to use modules installed by luarocks,"
+ elog "run lua with -lluarocks.require argument."
+ elog "You can set the LUA_INIT environment variable as well."
+}
+