public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] gentoo-x86 commit in dev-libs/luasocket: metadata.xml ChangeLog luasocket-2.0.2.ebuild
@ 2009-09-28 10:54 99% Diego Petteno (flameeyes)
  0 siblings, 0 replies; 1+ results
From: Diego Petteno (flameeyes) @ 2009-09-28 10:54 UTC (permalink / raw
  To: gentoo-commits

flameeyes    09/09/28 10:54:29

  Added:                metadata.xml ChangeLog luasocket-2.0.2.ebuild
  Log:
  Initial import of luasocket (needed for ekeyd); thanks to Pierre Guinoiseau in bug #239540 for the basic ebuild.
  (Portage version: 2.2_rc42/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-libs/luasocket/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/luasocket/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/luasocket/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
  <herd>no-herd</herd>
  <maintainer>
    <email>flameeyes@gentoo.org</email>
    <description>
      I need this for app-crypt/ekeyd, if you care about this for LUA,
      or for any other reason, you're free to pick it up; please just
      leave the unix socket support in, thanks!
    </description>
  </maintainer>
</pkgmetadata>



1.1                  dev-libs/luasocket/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/luasocket/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/luasocket/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for dev-libs/luasocket
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/luasocket/ChangeLog,v 1.1 2009/09/28 10:54:29 flameeyes Exp $

*luasocket-2.0.2 (28 Sep 2009)

  28 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org>
  +luasocket-2.0.2.ebuild, +files/luasocket-2.0.2-unixsocket.patch,
  +metadata.xml:
  Initial import of luasocket (needed for ekeyd); thanks to Pierre
  Guinoiseau in bug #239540 for the basic ebuild.




1.1                  dev-libs/luasocket/luasocket-2.0.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/luasocket/luasocket-2.0.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/luasocket/luasocket-2.0.2.ebuild?rev=1.1&content-type=text/plain

Index: luasocket-2.0.2.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/luasocket/luasocket-2.0.2.ebuild,v 1.1 2009/09/28 10:54:29 flameeyes Exp $

EAPI=2

inherit multilib toolchain-funcs flag-o-matic eutils

DESCRIPTION="Networking support library for the Lua language."
HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/"
SRC_URI="http://luaforge.net/frs/download.php/2664/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

RDEPEND=">=dev-lang/lua-5.1[deprecated]"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_prepare() {
	# Unix socket support is needed by app-crypt/ekeyd, but upstream
	# does not seem to enable it by default.
	epatch "${FILESDIR}"/${P}-unixsocket.patch
}

src_compile() {
	# We append flags here to avoid editing the config file
	use debug && append-flags -DLUASOCKET_DEBUG
	append-flags -fPIC

	emake \
		CFLAGS="${CFLAGS}" \
		LDFLAGS="${LDFLAGS}" \
		CC="$(tc-getCC)" \
		LD="$(tc-getCC) -shared" \
		|| die
}

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
}






^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-09-28 10:54 99% [gentoo-commits] gentoo-x86 commit in dev-libs/luasocket: metadata.xml ChangeLog luasocket-2.0.2.ebuild Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox