summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lua/luasocket/ChangeLog9
-rw-r--r--dev-lua/luasocket/Manifest3
-rw-r--r--dev-lua/luasocket/luasocket-2.0.2.ebuild33
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-lua/luasocket/ChangeLog b/dev-lua/luasocket/ChangeLog
new file mode 100644
index 0000000..c06959a
--- /dev/null
+++ b/dev-lua/luasocket/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-lua/luasocket
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*luasocket-2.0.2 (21 Aug 2008)
+
+ 21 Aug 2008; Ali Polatel <hawking@gentoo.org> +luasocket-2.0.2.ebuild:
+ Initial ebuild
+
diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest
new file mode 100644
index 0000000..b8f72fb
--- /dev/null
+++ b/dev-lua/luasocket/Manifest
@@ -0,0 +1,3 @@
+DIST luasocket-2.0.2.tar.gz 115443 RMD160 24d7e4fb1c9cf0c3d94f8b36e82d494ae922e268 SHA1 5ce521fc5c6efb7c1eba7f36dfeafa9e4d745464 SHA256 4fd9c775cfd98841299851e29b30176caf289370fea1ff1e00bb67c2d6842ca6
+EBUILD luasocket-2.0.2.ebuild 870 RMD160 012d275c6854c36b4e03574cc16fb3477f13b26e SHA1 e0e09e2875ae00cc1a1b503d003c7b78246c7fea SHA256 6fb987542a0b75119faa1a9c55b86b2f22f999ec5d0212a8bc5369e9e61a3991
+MISC ChangeLog 241 RMD160 963f20083655faa3ad1fa9b3a065dc017f8d49f4 SHA1 188785985151e4c104f1c6fdd5d7531fbc566b2b SHA256 0495ed946bfdcefa70e1795e2cb52f61ce8528c76a741c98b5c0c901e4b6e9ce
diff --git a/dev-lua/luasocket/luasocket-2.0.2.ebuild b/dev-lua/luasocket/luasocket-2.0.2.ebuild
new file mode 100644
index 0000000..a42097c
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-2.0.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/luafilesystem/luafilesystem-1.4.1.ebuild,v 1.2 2008/08/08 22:50:43 matsuu Exp $
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Network support for the Lua language "
+HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/"
+SRC_URI="http://luaforge.net/frs/download.php/2664/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/lua-5.1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s|/usr/local|${D}/usr|" \
+ -e "s|/lib|/$(get_libdir)|" \
+ -e "s|-O2|${CFLAGS}|" \
+ -e "s|gcc|$(tc-getCC)|" \
+ config || die "sed failed"
+}
+
+src_install() {
+ emake install || die "emake failed"
+ dodoc README NEW || die "dodoc failed"
+ dohtml doc/* || die "dohtml failed"
+}