diff options
author | 2011-01-20 21:13:12 +0000 | |
---|---|---|
committer | 2011-01-20 21:13:12 +0000 | |
commit | 549a51fe7a27cf8dfc396528e0b989f080669615 (patch) | |
tree | 704b98517121e7dde509dc3a5343d5fd881c4e65 /dev-lua | |
parent | New plugin, fixes bug 317291. Thanks to Ciprian Ciubotariu for the initial eb... (diff) | |
download | gentoo-2-549a51fe7a27cf8dfc396528e0b989f080669615.tar.gz gentoo-2-549a51fe7a27cf8dfc396528e0b989f080669615.tar.bz2 gentoo-2-549a51fe7a27cf8dfc396528e0b989f080669615.zip |
Initial commit, bug #333097
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/luaevent/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lua/luaevent/luaevent-0.3.1.ebuild | 35 | ||||
-rw-r--r-- | dev-lua/luaevent/metadata.xml | 14 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-lua/luaevent/ChangeLog b/dev-lua/luaevent/ChangeLog new file mode 100644 index 000000000000..59ccaee50997 --- /dev/null +++ b/dev-lua/luaevent/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lua/luaevent +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaevent/ChangeLog,v 1.1 2011/01/20 21:13:12 blueness Exp $ + +*luaevent-0.3.1 (20 Jan 2011) + + 20 Jan 2011; Anthony G. Basile <blueness@gentoo.org> + +luaevent-0.3.1.ebuild, +metadata.xml: + Initial commit, bug #333097 + diff --git a/dev-lua/luaevent/luaevent-0.3.1.ebuild b/dev-lua/luaevent/luaevent-0.3.1.ebuild new file mode 100644 index 000000000000..db87e08ee460 --- /dev/null +++ b/dev-lua/luaevent/luaevent-0.3.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaevent/luaevent-0.3.1.ebuild,v 1.1 2011/01/20 21:13:12 blueness Exp $ + +EAPI=2 + +#inherit toolchain-funcs +inherit multilib toolchain-funcs flag-o-matic eutils + +DESCRIPTION="libevent bindings for Lua" +HOMEPAGE="http://luaforge.net/projects/luaevent" +SRC_URI="http://dev.gentoo.org/~blueness/luaevent/${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 "s:^CFLAGS =:CFLAGS +=:" "${S}/Makefile" + sed -i "s:^LDFLAGS =:LDFLAGS +=:" "${S}/Makefile" + sed -i "/^LDFLAGS/a CC = $(tc-getCC)" "${S}/Makefile" + sed -i "s:^LUA_INC_DIR ?=.*:LUA_INC_DIR ?= $(pkg-config --variable INSTALL_INC lua):" "${S}/Makefile" + sed -i "s:^INSTALL_DIR_LUA ?=.*:INSTALL_DIR_LUA ?= $(pkg-config --variable INSTALL_LMOD lua):" "${S}/Makefile" + sed -i "s:^INSTALL_DIR_BIN ?=.*:INSTALL_DIR_BIN ?= $(pkg-config --variable INSTALL_CMOD lua):" "${S}/Makefile" +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" +} diff --git a/dev-lua/luaevent/metadata.xml b/dev-lua/luaevent/metadata.xml new file mode 100644 index 000000000000..ed02fd6ee75d --- /dev/null +++ b/dev-lua/luaevent/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>blueness@gentoo.org</email> + </maintainer> + <maintainer> + <email>djc@gentoo.org</email> + </maintainer> + <maintainer> + <email>rafaelmartins@gentoo.org</email> + </maintainer> +</pkgmetadata> |