diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-06-15 13:39:54 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-06-15 13:39:54 +0000 |
commit | c4a934d64ac21675c4cfc4a0d36177253199f59b (patch) | |
tree | 9172b9203bee40f4db39bbc8d0565cb8e0e6f1a3 /dev-lua | |
parent | Enable multilib support, required by media-libs/libquvi-scripts. (diff) | |
download | gentoo-2-c4a934d64ac21675c4cfc4a0d36177253199f59b.tar.gz gentoo-2-c4a934d64ac21675c4cfc4a0d36177253199f59b.tar.bz2 gentoo-2-c4a934d64ac21675c4cfc4a0d36177253199f59b.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/luasocket/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-lua/luasocket/ChangeLog b/dev-lua/luasocket/ChangeLog index 734cbab3e8b9..c1492e3c2910 100644 --- a/dev-lua/luasocket/ChangeLog +++ b/dev-lua/luasocket/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lua/luasocket # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/ChangeLog,v 1.17 2014/03/04 20:36:49 vincent Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/ChangeLog,v 1.18 2014/06/15 13:39:54 mgorny Exp $ + +*luasocket-3.0_rc1-r3 (15 Jun 2014) + + 15 Jun 2014; Michał Górny <mgorny@gentoo.org> +luasocket-3.0_rc1-r3.ebuild: + Enable multilib support, required by media-libs/libquvi-scripts. 04 Mar 2014; Vicente Olivert Riera <vincent@gentoo.org> luasocket-3.0_rc1-r2.ebuild: diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild b/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild new file mode 100644 index 000000000000..07103def4ebb --- /dev/null +++ b/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild,v 1.1 2014/06/15 13:39:54 mgorny Exp $ + +EAPI=5 + +inherit multilib multilib-minimal flag-o-matic + +DESCRIPTION="Networking support library for the Lua language" +HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/" +SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~x86" +IUSE="debug" + +RDEPEND=">=dev-lang/lua-5.1[deprecated,${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}]" + +S=${WORKDIR}/${PN}-${PV/_/-} + +RESTRICT="test" + +src_prepare() { + multilib_copy_sources +} + +multilib_src_compile() { + emake \ + CC="$(tc-getCC) ${CFLAGS}" \ + LD="$(tc-getCC) ${LDFLAGS}"\ + $(usex debug DEBUG="DEBUG" "") +} + +multilib_src_install() { + local luav=$($(tc-getPKG_CONFIG) --variable V lua) + emake \ + DESTDIR="${D}" \ + LUAPREFIX_linux=/usr \ + LUAV=${luav} \ + CDIR_linux=$(get_libdir)/lua/${luav} \ + install-unix +} + +multilib_src_install_all() { + dodoc NEW README + dohtml -r doc/. +} |