summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-04-05 23:23:41 +0000
committerWilliam Hubbs <williamh@gentoo.org>2011-04-05 23:23:41 +0000
commitdc5e704fed168fa026dc151e01cf3b13efff5f18 (patch)
tree66f0001426aa5b85d517882cec6fa8d3bfca1fe3 /dev-lua
parentUpdate ChangeLog :| (diff)
downloadhistorical-dc5e704fed168fa026dc151e01cf3b13efff5f18.tar.gz
historical-dc5e704fed168fa026dc151e01cf3b13efff5f18.tar.bz2
historical-dc5e704fed168fa026dc151e01cf3b13efff5f18.zip
initial commit
Package-Manager: portage-2.2.0_alpha29/cvs/Linux i686
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/LuaBitOp/ChangeLog10
-rw-r--r--dev-lua/LuaBitOp/LuaBitOp-1.0.1.ebuild42
-rw-r--r--dev-lua/LuaBitOp/Manifest14
-rw-r--r--dev-lua/LuaBitOp/metadata.xml14
4 files changed, 80 insertions, 0 deletions
diff --git a/dev-lua/LuaBitOp/ChangeLog b/dev-lua/LuaBitOp/ChangeLog
new file mode 100644
index 000000000000..84528dc1f7c3
--- /dev/null
+++ b/dev-lua/LuaBitOp/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lua/LuaBitOp
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/ChangeLog,v 1.1 2011/04/05 23:23:41 williamh Exp $
+
+*LuaBitOp-1.0.1 (05 Apr 2011)
+
+ 05 Apr 2011; William Hubbs <williamh@gentoo.org> +LuaBitOp-1.0.1.ebuild,
+ +metadata.xml:
+ initial commit
+
diff --git a/dev-lua/LuaBitOp/LuaBitOp-1.0.1.ebuild b/dev-lua/LuaBitOp/LuaBitOp-1.0.1.ebuild
new file mode 100644
index 000000000000..997a950ed79c
--- /dev/null
+++ b/dev-lua/LuaBitOp/LuaBitOp-1.0.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/LuaBitOp-1.0.1.ebuild,v 1.1 2011/04/05 23:23:41 williamh Exp $
+
+EAPI="4"
+inherit multilib
+
+DESCRIPTION="Bit Operations Library for the Lua Programming Language"
+HOMEPAGE="http://bitop.luajit.org"
+SRC_URI="http://bitop.luajit.org/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="=dev-lang/lua-5.1*"
+RDEPEND="${DEPEND}"
+
+src_prepare()
+{
+ sed -i \
+ -e "/^CC=/d" \
+ -e "/^INCLUDES=/d" \
+ -e "/^CFLAGS=/s|=| +=|" \
+ -e "s|/usr/local|/usr|" \
+ -e "s|-O2 -fomit-frame-pointer||" \
+ -e "s|\$(INCLUDES)||" \
+ Makefile || die "sed failed"
+}
+
+src_compile()
+{
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install()
+{
+ exeinto /usr/$(get_libdir)/lua/5.1
+doexe bit.so
+ dohtml -r doc/*
+}
diff --git a/dev-lua/LuaBitOp/Manifest b/dev-lua/LuaBitOp/Manifest
new file mode 100644
index 000000000000..9351ab15f470
--- /dev/null
+++ b/dev-lua/LuaBitOp/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST LuaBitOp-1.0.1.tar.gz 22984 RMD160 018d7643c7ca2bf87a1dc0e79b03fb60e4a03523 SHA1 126d387d8129db7477f814c6228f68b1326989d1 SHA256 6afa9984411079a7e109977bc8a28d63890c1489a928b1f61d33ef327e9cb0c9
+EBUILD LuaBitOp-1.0.1.ebuild 874 RMD160 070a69de1e4b754a0c265704600f12ace5fc0a6f SHA1 5ae0d8d87cec32fd93323e699b453d1dc61d944a SHA256 bd4b5580807842ba549a105b53fede20461312ee2a6cb8b32ea45773d03033d7
+MISC ChangeLog 348 RMD160 fb87105095d16c472fa3cfd6d47df47dc98eb8b4 SHA1 213295ec1176fd1c5d735a5bbced4b1655e444cb SHA256 7347567393d4ed32311d38b4b6c57b92168caa866c1d3cfb5da4cabe935b8718
+MISC metadata.xml 392 RMD160 e898ada498abb786e529aaae0595711691e9cd8e SHA1 30b65458b9066f39a29cf54694c59ebd91952a51 SHA256 61c0672b7c0abb56b0ad7bb25523f9c072c9300c4044fa2e96d726911970a428
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk2bpHcACgkQblQW9DDEZTilrgCgh9FoL5n87lMTN9XQOMnl5hxV
+PA4AoIXk1Rs4OmadNWQ+cxzsZdFHVrvj
+=fWGR
+-----END PGP SIGNATURE-----
diff --git a/dev-lua/LuaBitOp/metadata.xml b/dev-lua/LuaBitOp/metadata.xml
new file mode 100644
index 000000000000..fe6ed829fe2f
--- /dev/null
+++ b/dev-lua/LuaBitOp/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>no-herd</herd>
+ <maintainer>
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <longdescription lang="en">
+ This is a library for the Lua programming language which performs bit
+ operations.
+ </longdescription>
+</pkgmetadata>
+