diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2014-12-24 10:36:09 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2014-12-24 10:36:09 +0000 |
commit | ff7c6b66050b0f00c6dc5768963d52c037bb3a34 (patch) | |
tree | 0af8e24dbe789517fa1b31d83b41b23100301faa /dev-lua | |
parent | bump; update test phase (diff) | |
download | gentoo-2-ff7c6b66050b0f00c6dc5768963d52c037bb3a34.tar.gz gentoo-2-ff7c6b66050b0f00c6dc5768963d52c037bb3a34.tar.bz2 gentoo-2-ff7c6b66050b0f00c6dc5768963d52c037bb3a34.zip |
Version bump. Fixes bug #499968.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/luasec/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lua/luasec/luasec-0.5.ebuild | 42 |
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-lua/luasec/ChangeLog b/dev-lua/luasec/ChangeLog index de4ef0d731fb..84640eb56a89 100644 --- a/dev-lua/luasec/ChangeLog +++ b/dev-lua/luasec/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lua/luasec # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasec/ChangeLog,v 1.11 2014/11/14 21:21:16 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasec/ChangeLog,v 1.12 2014/12/24 10:36:09 mrueg Exp $ + +*luasec-0.5 (24 Dec 2014) + + 24 Dec 2014; Manuel Rüger <mrueg@gentoo.org> +luasec-0.5.ebuild: + Version bump. Fixes bug #499968. 14 Nov 2014; Markus Meier <maekke@gentoo.org> luasec-0.4.1_p20130620.ebuild: arm stable, bug #511532 diff --git a/dev-lua/luasec/luasec-0.5.ebuild b/dev-lua/luasec/luasec-0.5.ebuild new file mode 100644 index 000000000000..749cdf797bad --- /dev/null +++ b/dev-lua/luasec/luasec-0.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasec/luasec-0.5.ebuild,v 1.1 2014/12/24 10:36:09 mrueg Exp $ + +EAPI=5 + +inherit multilib toolchain-funcs + +DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication" +HOMEPAGE="https://github.com/brunoos/luasec http://www.inf.puc-rio.br/~brunoos/luasec/" +SRC_URI="https://github.com/brunoos/luasec/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +S=${WORKDIR}/${PN}-${P} + +RDEPEND=">=dev-lang/lua-5.1[deprecated] + dev-lua/luasocket + dev-libs/openssl" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i -e "s#^LUAPATH.*#LUAPATH=$(pkg-config --variable INSTALL_LMOD lua)#"\ + -e "s#^LUACPATH.*#LUACPATH=$(pkg-config --variable INSTALL_CMOD lua)#" Makefile || die + sed -i -e "s/-O2//" src/Makefile || die + lua src/options.lua -g /usr/include/openssl/ssl.h > src/options.h || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + LD="$(tc-getCC)" \ + linux +} + +src_install() { + emake DESTDIR="${D}" install +} |