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 | 77b3fc2a04fee935eddcf1c7c3af50ff55217440 (patch) | |
tree | 25f1f3e49cf6186b0a7b271a9be2da9f4a73b20f /dev-lua | |
parent | ppc64 stable wrt #339475 (diff) | |
download | historical-77b3fc2a04fee935eddcf1c7c3af50ff55217440.tar.gz historical-77b3fc2a04fee935eddcf1c7c3af50ff55217440.tar.bz2 historical-77b3fc2a04fee935eddcf1c7c3af50ff55217440.zip |
Moved from dev-libs to dev-lua. Added myself to metadata.xml.
Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/luaexpat/ChangeLog | 18 | ||||
-rw-r--r-- | dev-lua/luaexpat/Manifest | 5 | ||||
-rw-r--r-- | dev-lua/luaexpat/luaexpat-1.1.ebuild | 46 | ||||
-rw-r--r-- | dev-lua/luaexpat/metadata.xml | 12 |
4 files changed, 81 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/Manifest b/dev-lua/luaexpat/Manifest new file mode 100644 index 000000000000..e15e1a519176 --- /dev/null +++ b/dev-lua/luaexpat/Manifest @@ -0,0 +1,5 @@ +AUX luaexpat-1.1-makefile.patch 607 RMD160 ea658a7f7c487a4a119bc9760a334c197ab1b80f SHA1 db44cfedc90c9a6ffe9d86ee03ec1e7d56566c49 SHA256 606a86314e3fdfe4a1ea63a1587629e1e3b1e867d98f6739a8f5bbf5431297ef +DIST luaexpat-1.1.tar.gz 27907 RMD160 f661c0e7f22363f51862187e96306498addea9d9 SHA1 ea359bdbd346ee378c47179a17ac3ee410be5c9d SHA256 9d709ddc606630f9b9dc3f3aafcb2a7c1fcb2675000c09978d8a37974e74effd +EBUILD luaexpat-1.1.ebuild 1377 RMD160 fb0eb52cc4463d47abf80531c25493b377954297 SHA1 7ae0be90df230d866dc5950caf4a4c18168a67c3 SHA256 ec06dc4018771890886c3daa52334e2a0513931ed8c834a500bcaf0d6e68f89f +MISC ChangeLog 723 RMD160 e92ed28063beef2f1475ed5754117553f4a48ccf SHA1 d0a9159d03437ee05e6b41a622301251231c99ab SHA256 3193991101cd9a37fcb2160ab48cd55cd7171d20042e7074d9c99dd533c58160 +MISC metadata.xml 335 RMD160 ee6550a1602f99eaadbad62db6fc7a701ac719a8 SHA1 4e2ad7f3f6d0c0f13dd2d1912444b2f351ee940b SHA256 20266c203fddddb7747729b946548712e351614bdb943113181fbf225869365f 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> |