diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2010-07-12 07:50:53 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2010-07-12 07:50:53 +0000 |
commit | 9c79663eaa5236a0bfa5f73ec7d02b2d61aece79 (patch) | |
tree | dc9b81b7496af6de6f17582661d7e076a3930794 /dev-libs/luaevent-prosody | |
parent | Fix building with OpenSSL >= 1.0.0 wrt #326995 by Diego E. Pettenò. (diff) | |
download | gentoo-2-9c79663eaa5236a0bfa5f73ec7d02b2d61aece79.tar.gz gentoo-2-9c79663eaa5236a0bfa5f73ec7d02b2d61aece79.tar.bz2 gentoo-2-9c79663eaa5236a0bfa5f73ec7d02b2d61aece79.zip |
Initial version.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/luaevent-prosody')
-rw-r--r-- | dev-libs/luaevent-prosody/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild | 43 | ||||
-rw-r--r-- | dev-libs/luaevent-prosody/metadata.xml | 7 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/luaevent-prosody/ChangeLog b/dev-libs/luaevent-prosody/ChangeLog new file mode 100644 index 000000000000..58b0a07c37fc --- /dev/null +++ b/dev-libs/luaevent-prosody/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/luaevent-prosody +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/luaevent-prosody/ChangeLog,v 1.1 2010/07/12 07:50:53 djc Exp $ + +*luaevent-prosody-0.1.1 (12 Jul 2010) + + 12 Jul 2010; Dirkjan Ochtman <djc@gentoo.org> + +luaevent-prosody-0.1.1.ebuild, +metadata.xml: + Initial version (for net-im/prosody-0.7). + diff --git a/dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild b/dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild new file mode 100644 index 000000000000..0dc200d40ae6 --- /dev/null +++ b/dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild,v 1.1 2010/07/12 07:50:53 djc Exp $ + +EAPI=2 + +inherit multilib toolchain-funcs flag-o-matic eutils + +DESCRIPTION="libevent bindings for Lua (Prosody's fork)" +HOMEPAGE="http://code.matthewwild.co.uk/luaevent-prosody" +SRC_URI="http://matthewwild.co.uk/uploads/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/lua-5.1 + >=dev-libs/libevent-1.4" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + sed -i -e "s#^INSTALL_DIR_LUA=.*#INSTALL_DIR_LUA=$(pkg-config --variable INSTALL_LMOD lua)#" "${S}/Makefile" + sed -i -e "s#^INSTALL_DIR_BIN=.*#INSTALL_DIR_BIN=$(pkg-config --variable INSTALL_CMOD lua)#" "${S}/Makefile" + sed -i -e "s#^LUA_INC_DIR=.*#LUA_INC_DIR=$(pkg-config --variable INSTALL_INC lua)#" "${S}/Makefile" + sed -i -e "s#^LUA_LIB_DIR=.*#LUA_LIB_DIR=$(pkg-config --variable INSTALL_LIB lua)#" "${S}/Makefile" + sed -i -e "s#^LUA_LIB =.*#LUA_LIB=lua#" "${S}/Makefile" +} + +src_compile() { + append-flags -fPIC -c + emake \ + CFLAGS="${CFLAGS}" \ + CC="$(tc-getCC)" \ + LD="$(tc-getCC) -shared" \ + all \ + || die +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" +} diff --git a/dev-libs/luaevent-prosody/metadata.xml b/dev-libs/luaevent-prosody/metadata.xml new file mode 100644 index 000000000000..161d2437f294 --- /dev/null +++ b/dev-libs/luaevent-prosody/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>djc@gentoo.org</email> + </maintainer> +</pkgmetadata> |