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 | 5570f907d540d2aae569b1beb035ceaea25a1bb2 (patch) | |
tree | 8d74bd3f913ded88388769cd0b55e53e184031ea /dev-libs | |
parent | Fix building with OpenSSL >= 1.0.0 wrt #326995 by Diego E. Pettenò. (diff) | |
download | historical-5570f907d540d2aae569b1beb035ceaea25a1bb2.tar.gz historical-5570f907d540d2aae569b1beb035ceaea25a1bb2.tar.bz2 historical-5570f907d540d2aae569b1beb035ceaea25a1bb2.zip |
Initial version.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/luaevent-prosody/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/luaevent-prosody/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild | 43 | ||||
-rw-r--r-- | dev-libs/luaevent-prosody/metadata.xml | 7 |
4 files changed, 64 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/Manifest b/dev-libs/luaevent-prosody/Manifest new file mode 100644 index 000000000000..12bdf36f74fe --- /dev/null +++ b/dev-libs/luaevent-prosody/Manifest @@ -0,0 +1,4 @@ +DIST luaevent-prosody-0.1.1.tar.gz 28957 RMD160 4d7612fa33df9a7c5f7b38acb6368b334a7b0f1f SHA1 cd9f4149b324ff26764f3142001398416d909a2c SHA256 accf6a514a2735d26bb1c30b37e956e42a5fa491ce620eed131e023307a95760 +EBUILD luaevent-prosody-0.1.1.ebuild 1335 RMD160 6260194bc20be00c1d9e05cc5562e79c8bccfcbf SHA1 e089cfa7b94c6208f181671e04b3ac4dc6a3392c SHA256 5b41a5c457e32ff70c860bb3876bf8fc5661304460720d09d2775111258e61b7 +MISC ChangeLog 401 RMD160 6b9dad7e20eb7d39ce7c4c83dfd9d67b1108422d SHA1 de822b8357acfa0e8fd69f89bff18b5e27d645cb SHA256 e02201ab6f43fb82abc769fdb2c86d35a4174bc1acf5a5ce2415b057f48d74e7 +MISC metadata.xml 204 RMD160 2f9c99f8c1a78043e3b5df06c84f4649aa0de9cc SHA1 73fac96ebcd4b4b29eba5717562ffca178c3b7d6 SHA256 d27076b18f6232dab0973034b9f787777cbdedb474edd1b9d488fe6248915450 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> |