diff options
author | Rafael Martins <rafaelmartins@gentoo.org> | 2010-11-05 20:26:21 +0000 |
---|---|---|
committer | Rafael Martins <rafaelmartins@gentoo.org> | 2010-11-05 20:26:21 +0000 |
commit | 7b45e9ee8d719a1a75113b4547803e32bc244f12 (patch) | |
tree | 6e225de2ec9fec1026a749def32e5f5b5ca3472a /dev-lua/luaexpat | |
parent | ppc64 stable wrt #339475 (diff) | |
download | gentoo-2-7b45e9ee8d719a1a75113b4547803e32bc244f12.tar.gz gentoo-2-7b45e9ee8d719a1a75113b4547803e32bc244f12.tar.bz2 gentoo-2-7b45e9ee8d719a1a75113b4547803e32bc244f12.zip |
Moved from dev-libs to dev-lua. Added myself to metadata.xml.
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lua/luaexpat')
-rw-r--r-- | dev-lua/luaexpat/ChangeLog | 18 | ||||
-rw-r--r-- | dev-lua/luaexpat/luaexpat-1.1.ebuild | 46 | ||||
-rw-r--r-- | dev-lua/luaexpat/metadata.xml | 12 |
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-lua/luaexpat/ChangeLog b/dev-lua/luaexpat/ChangeLog new file mode 100644 index 000000000000..72632e6b5879 --- /dev/null +++ b/dev-lua/luaexpat/ChangeLog @@ -0,0 +1,18 @@ +# ChangeLog for dev-lua/luaexpat +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaexpat/ChangeLog,v 1.1 2010/11/05 20:26:21 rafaelmartins Exp $ + + 05 Nov 2010; Rafael G. Martins <rafaelmartins@gentoo.org> + +luaexpat-1.1.ebuild, +metadata.xml: + Moved from dev-libs to dev-lua. Added myself to metadata.xml. + + 13 Jul 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + metadata.xml: + Added missing herd tag to metadata.xml + +*luaexpat-1.1 (02 Jan 2010) + + 02 Jan 2010; Dirkjan Ochtman <djc@gentoo.org> +luaexpat-1.1.ebuild, + +files/luaexpat-1.1-makefile.patch, +metadata.xml: + Add initial version 1.1, required for net-im/prosody (bug 290590). + diff --git a/dev-lua/luaexpat/luaexpat-1.1.ebuild b/dev-lua/luaexpat/luaexpat-1.1.ebuild new file mode 100644 index 000000000000..19dec446b163 --- /dev/null +++ b/dev-lua/luaexpat/luaexpat-1.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaexpat/luaexpat-1.1.ebuild,v 1.1 2010/11/05 20:26:21 rafaelmartins Exp $ + +EAPI=2 + +inherit multilib toolchain-funcs flag-o-matic eutils + +DESCRIPTION="LuaExpat is a SAX XML parser based on the Expat library." +HOMEPAGE="http://www.keplerproject.org/luaexpat/" +SRC_URI="http://luaforge.net/frs/download.php/2469/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/lua-5.1[deprecated] + dev-libs/expat" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + sed -i -e "s#^LUA_LIBDIR=.*#LUA_LIBDIR=$(pkg-config --variable INSTALL_CMOD lua)#" "${S}/config" + sed -i -e "s#^LUA_DIR=.*#LUA_DIR=$(pkg-config --variable INSTALL_LMOD lua)#" "${S}/config" + sed -i -e "s#^LUA_INC=.*#LUA_INC=$(pkg-config --variable INSTALL_INC lua)#" "${S}/config" + sed -i -e "s#^EXPAT_INC=.*#EXPAT_INC=/usr/include#" "${S}/config" + sed -i -e "s#^LUA_VERSION_NUM=.*#LUA_VERSION_NUM=501#" "${S}/config" + epatch "${FILESDIR}/${P}-makefile.patch" +} + +src_compile() { + append-flags -fPIC + emake \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + CC="$(tc-getCC)" \ + LD="$(tc-getCC) -shared" \ + || die +} + +src_install() { + make DESTDIR="${D}" install || die "Install failed" + dodoc README || die + dohtml -r doc/* || die +} diff --git a/dev-lua/luaexpat/metadata.xml b/dev-lua/luaexpat/metadata.xml new file mode 100644 index 000000000000..b9e0dee59ab4 --- /dev/null +++ b/dev-lua/luaexpat/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>djc@gentoo.org</email> + <name>Dirkjan Ochtman</name> + </maintainer> + <maintainer> + <email>rafaelmartins@gentoo.org</email> + </maintainer> +</pkgmetadata> |