summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-04-07 15:07:01 +0000
committerWilliam Hubbs <williamh@gentoo.org>2011-04-07 15:07:01 +0000
commit46d66418efbfa483304a6d8667a228b89fc9618c (patch)
tree896eb69e56e3b6de341699cbcf01c8326ce928a4 /dev-lua
parentQA on ebuilds style, making repoman happy (diff)
downloadhistorical-46d66418efbfa483304a6d8667a228b89fc9618c.tar.gz
historical-46d66418efbfa483304a6d8667a228b89fc9618c.tar.bz2
historical-46d66418efbfa483304a6d8667a228b89fc9618c.zip
revision bump to add src_test and fix compilation with -fPIC.
Package-Manager: portage-2.2.0_alpha29/cvs/Linux i686
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/LuaBitOp/ChangeLog7
-rw-r--r--dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild43
-rw-r--r--dev-lua/LuaBitOp/Manifest9
3 files changed, 54 insertions, 5 deletions
diff --git a/dev-lua/LuaBitOp/ChangeLog b/dev-lua/LuaBitOp/ChangeLog
index 84528dc1f7c3..36dd66449bdb 100644
--- a/dev-lua/LuaBitOp/ChangeLog
+++ b/dev-lua/LuaBitOp/ChangeLog
@@ -1,6 +1,11 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/ChangeLog,v 1.2 2011/04/07 15:07:01 williamh Exp $
+
+*LuaBitOp-1.0.1-r1 (07 Apr 2011)
+
+ 07 Apr 2011; William Hubbs <williamh@gentoo.org> +LuaBitOp-1.0.1-r1.ebuild:
+ revision bump to fix compilation with -fPIC and add src_test.
*LuaBitOp-1.0.1 (05 Apr 2011)
diff --git a/dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild b/dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..4315971db3ae
--- /dev/null
+++ b/dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild
@@ -0,0 +1,43 @@
+# 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-r1.ebuild,v 1.1 2011/04/07 15:07:00 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 '/^CFLAGS.*=/s/=/ +=/' \
+ -e '/^CFLAGS/s/-O2 -fomit-frame-pointer //' \
+ Makefile || die "sed failed"
+}
+
+src_compile()
+{
+ emake CC="$(tc-getCC)"
+}
+
+src_test()
+{
+ make test
+}
+
+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
index 9351ab15f470..ef9c9a0a6337 100644
--- a/dev-lua/LuaBitOp/Manifest
+++ b/dev-lua/LuaBitOp/Manifest
@@ -2,13 +2,14 @@
Hash: SHA1
DIST LuaBitOp-1.0.1.tar.gz 22984 RMD160 018d7643c7ca2bf87a1dc0e79b03fb60e4a03523 SHA1 126d387d8129db7477f814c6228f68b1326989d1 SHA256 6afa9984411079a7e109977bc8a28d63890c1489a928b1f61d33ef327e9cb0c9
+EBUILD LuaBitOp-1.0.1-r1.ebuild 803 RMD160 44bdd0525156397d3d1d1d3d615dd41b69e832e9 SHA1 b0c70b352d9909fea0ffd667a96e175d193eae16 SHA256 b75233955e9dab1c1fe089f2d581a7fd2f736ed2f19e362622ca7d31ac73b9c5
EBUILD LuaBitOp-1.0.1.ebuild 874 RMD160 070a69de1e4b754a0c265704600f12ace5fc0a6f SHA1 5ae0d8d87cec32fd93323e699b453d1dc61d944a SHA256 bd4b5580807842ba549a105b53fede20461312ee2a6cb8b32ea45773d03033d7
-MISC ChangeLog 348 RMD160 fb87105095d16c472fa3cfd6d47df47dc98eb8b4 SHA1 213295ec1176fd1c5d735a5bbced4b1655e444cb SHA256 7347567393d4ed32311d38b4b6c57b92168caa866c1d3cfb5da4cabe935b8718
+MISC ChangeLog 525 RMD160 8ceb0c0718402d1a1236df1bffd95d15aac635d8 SHA1 f7b26ce89739db46b6942e2d7fee1fa671f4955d SHA256 bd458b6eea9e3a5bf13a810ca56427ba7c6f927e8edb055ed069fc65cd7e8f1b
MISC metadata.xml 392 RMD160 e898ada498abb786e529aaae0595711691e9cd8e SHA1 30b65458b9066f39a29cf54694c59ebd91952a51 SHA256 61c0672b7c0abb56b0ad7bb25523f9c072c9300c4044fa2e96d726911970a428
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk2bpHcACgkQblQW9DDEZTilrgCgh9FoL5n87lMTN9XQOMnl5hxV
-PA4AoIXk1Rs4OmadNWQ+cxzsZdFHVrvj
-=fWGR
+iEYEARECAAYFAk2d0yMACgkQblQW9DDEZTjPiACfY53HAAj7cJq9DMNAXtDxGxDi
+qdwAoIzTYvI7oM2I7TdCtViaHHK/R1Ui
+=38Ki
-----END PGP SIGNATURE-----