diff options
author | 2012-04-23 12:16:18 +0700 | |
---|---|---|
committer | 2012-04-23 12:16:18 +0700 | |
commit | 46ab7862e6db414458e3670277b0aa79316a509e (patch) | |
tree | 00d4f7a8795f65049cf9926e02132c72d0b7c023 /dev-lua/luasocket | |
parent | fixed manifest, again :( (diff) | |
download | lua-46ab7862e6db414458e3670277b0aa79316a509e.tar.gz lua-46ab7862e6db414458e3670277b0aa79316a509e.tar.bz2 lua-46ab7862e6db414458e3670277b0aa79316a509e.zip |
bump!
(Portage version: 2.2.0_alpha100_p12/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lua/luasocket')
-rw-r--r-- | dev-lua/luasocket/ChangeLog | 18 | ||||
-rw-r--r-- | dev-lua/luasocket/luasocket-9999.ebuild | 44 | ||||
-rw-r--r-- | dev-lua/luasocket/metadata.xml | 14 |
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-lua/luasocket/ChangeLog b/dev-lua/luasocket/ChangeLog new file mode 100644 index 0000000..6195e96 --- /dev/null +++ b/dev-lua/luasocket/ChangeLog @@ -0,0 +1,18 @@ +# ChangeLog for dev-lua/luasocket +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 17 Jul 2011; Misbakh-Soloviev Vadim A. (mva) <mva@mva.name> + luasocket-9999.ebuild: + new lua pkgs + + 16 Jul 2011; Misbakh-Soloviev Vadim A. (mva) <mva@mva.name> + luasocket-9999.ebuild: + some fixes + +*luasocket-9999 (17 Jun 2011) + + 17 Jun 2011; Misbakh-Soloviev Vadim A. (mva) <mva@mva.name> + +luasocket-9999.ebuild, +metadata.xml: + some lua staff + diff --git a/dev-lua/luasocket/luasocket-9999.ebuild b/dev-lua/luasocket/luasocket-9999.ebuild new file mode 100644 index 0000000..84f9a09 --- /dev/null +++ b/dev-lua/luasocket/luasocket-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: This ebuild is from Lua overlay; Bumped by mva; $ + +EAPI="4" + +inherit multilib toolchain-funcs flag-o-matic mercurial eutils + +DESCRIPTION="Networking support library for the Lua language." +HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/" +EHG_REPO_URI="http://code.matthewwild.co.uk/luasocket2-hg/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="debug" + +RDEPEND=">=dev-lang/lua-5.1" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_compile() { + # We append flags here to avoid editing the config file + use debug && append-flags -DLUASOCKET_DEBUG + append-flags -fPIC + + emake linux \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS} -o" \ + CC="$(tc-getCC)" \ + LD="$(tc-getCC) -shared" || die +# I'm sorry for dirty LDFLAGS hack with "-o", but it is only way +# to fix it ATM.. +# //wbr mva. +} + +src_install() { + emake install \ + INSTALL_TOP_SHARE="${D}/$(pkg-config --variable INSTALL_LMOD lua)" \ + INSTALL_TOP_LIB="${D}/$(pkg-config --variable INSTALL_CMOD lua | sed -e "s:lib/:$(get_libdir)/:")" || die + + dodoc NEW README || die + dohtml doc/* || die +} diff --git a/dev-lua/luasocket/metadata.xml b/dev-lua/luasocket/metadata.xml new file mode 100644 index 0000000..23da526 --- /dev/null +++ b/dev-lua/luasocket/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>mva@mva.name</email> + <description> + If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. + </description> + <name>Vadim A. Misbakh-Soloviov</name> +</maintainer> +<longdescription>FIXME</longdescription> +<use> +</use> +</pkgmetadata> |