public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lua/luaexpat: luaexpat-1.1.ebuild metadata.xml ChangeLog
@ 2010-11-05 20:26 Rafael Martins (rafaelmartins)
  0 siblings, 0 replies; only message in thread
From: Rafael Martins (rafaelmartins) @ 2010-11-05 20:26 UTC (permalink / raw
  To: gentoo-commits

rafaelmartins    10/11/05 20:26:21

  Added:                luaexpat-1.1.ebuild metadata.xml ChangeLog
  Log:
  Moved from dev-libs to dev-lua. Added myself to metadata.xml.
  
  (Portage version: 2.2.0_alpha3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-lua/luaexpat/luaexpat-1.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/luaexpat-1.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/luaexpat-1.1.ebuild?rev=1.1&content-type=text/plain

Index: luaexpat-1.1.ebuild
===================================================================
# 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
}



1.1                  dev-lua/luaexpat/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/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>djc@gentoo.org</email>
    <name>Dirkjan Ochtman</name>
  </maintainer>
  <maintainer>
    <email>rafaelmartins@gentoo.org</email>
  </maintainer>
</pkgmetadata>



1.1                  dev-lua/luaexpat/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# 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).







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-05 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-05 20:26 [gentoo-commits] gentoo-x86 commit in dev-lua/luaexpat: luaexpat-1.1.ebuild metadata.xml ChangeLog Rafael Martins (rafaelmartins)

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