diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-06-15 13:37:25 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-06-15 13:37:25 +0000 |
commit | 2cc4cfdfed0e764ab5e5f31a2e65b146c9748a71 (patch) | |
tree | a206b53e7e27dea4bf9c257cd357c2ed5fe4bc3b /dev-lua | |
parent | Mask multilib libquvi & respective libquvi-scripts. (diff) | |
download | gentoo-2-2cc4cfdfed0e764ab5e5f31a2e65b146c9748a71.tar.gz gentoo-2-2cc4cfdfed0e764ab5e5f31a2e65b146c9748a71.tar.bz2 gentoo-2-2cc4cfdfed0e764ab5e5f31a2e65b146c9748a71.zip |
Enable multilib support, required by media-libs/libquvi-scripts.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/LuaBitOp/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-lua/LuaBitOp/ChangeLog b/dev-lua/LuaBitOp/ChangeLog index f6a423b81f19..804b030c3d2c 100644 --- a/dev-lua/LuaBitOp/ChangeLog +++ b/dev-lua/LuaBitOp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lua/LuaBitOp # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/ChangeLog,v 1.10 2014/03/04 20:39:35 vincent Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/ChangeLog,v 1.11 2014/06/15 13:37:25 mgorny Exp $ + +*LuaBitOp-1.0.2-r1 (15 Jun 2014) + + 15 Jun 2014; Michał Górny <mgorny@gentoo.org> +LuaBitOp-1.0.2-r1.ebuild: + Enable multilib support, required by media-libs/libquvi-scripts. 04 Mar 2014; Vicente Olivert Riera <vincent@gentoo.org> LuaBitOp-1.0.1-r1.ebuild, LuaBitOp-1.0.2.ebuild: diff --git a/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild b/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild new file mode 100644 index 000000000000..503d076e695a --- /dev/null +++ b/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild,v 1.1 2014/06/15 13:37:25 mgorny Exp $ + +EAPI="5" +inherit toolchain-funcs multilib-minimal + +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="~amd64 ~arm ~hppa ~mips ~x86" +IUSE="" + +RDEPEND="dev-lang/lua[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}]" + +src_prepare() { + multilib_copy_sources +} + +multilib_src_compile() +{ + emake CC="$(tc-getCC)" INCLUDES= CCOPT= +} + +multilib_src_test() { + # tests use native lua interpreter + multilib_is_native_abi && default +} + +multilib_src_install() +{ + exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)" + doexe bit.so +} + +multilib_src_install_all() { + dodoc README + dohtml -r doc/. +} |