From: | "Rafael Martins (rafaelmartins)" <rafaelmartins@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lua/luaexpat: luaexpat-1.1.ebuild metadata.xml ChangeLog |
Date: | Fri, 05 Nov 2010 20:26:25 |
Message-Id: | 20101105202621.CD4D420051@flycatcher.gentoo.org |
1 | rafaelmartins 10/11/05 20:26:21 |
2 | |
3 | Added: luaexpat-1.1.ebuild metadata.xml ChangeLog |
4 | Log: |
5 | Moved from dev-libs to dev-lua. Added myself to metadata.xml. |
6 | |
7 | (Portage version: 2.2.0_alpha3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-lua/luaexpat/luaexpat-1.1.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/luaexpat-1.1.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/luaexpat-1.1.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: luaexpat-1.1.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2010 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/dev-lua/luaexpat/luaexpat-1.1.ebuild,v 1.1 2010/11/05 20:26:21 rafaelmartins Exp $ |
20 | |
21 | EAPI=2 |
22 | |
23 | inherit multilib toolchain-funcs flag-o-matic eutils |
24 | |
25 | DESCRIPTION="LuaExpat is a SAX XML parser based on the Expat library." |
26 | HOMEPAGE="http://www.keplerproject.org/luaexpat/" |
27 | SRC_URI="http://luaforge.net/frs/download.php/2469/${P}.tar.gz" |
28 | |
29 | LICENSE="MIT" |
30 | SLOT="0" |
31 | KEYWORDS="~amd64 ~x86" |
32 | IUSE="" |
33 | |
34 | RDEPEND=">=dev-lang/lua-5.1[deprecated] |
35 | dev-libs/expat" |
36 | DEPEND="${RDEPEND} |
37 | dev-util/pkgconfig" |
38 | |
39 | src_prepare() { |
40 | sed -i -e "s#^LUA_LIBDIR=.*#LUA_LIBDIR=$(pkg-config --variable INSTALL_CMOD lua)#" "${S}/config" |
41 | sed -i -e "s#^LUA_DIR=.*#LUA_DIR=$(pkg-config --variable INSTALL_LMOD lua)#" "${S}/config" |
42 | sed -i -e "s#^LUA_INC=.*#LUA_INC=$(pkg-config --variable INSTALL_INC lua)#" "${S}/config" |
43 | sed -i -e "s#^EXPAT_INC=.*#EXPAT_INC=/usr/include#" "${S}/config" |
44 | sed -i -e "s#^LUA_VERSION_NUM=.*#LUA_VERSION_NUM=501#" "${S}/config" |
45 | epatch "${FILESDIR}/${P}-makefile.patch" |
46 | } |
47 | |
48 | src_compile() { |
49 | append-flags -fPIC |
50 | emake \ |
51 | CFLAGS="${CFLAGS}" \ |
52 | LDFLAGS="${LDFLAGS}" \ |
53 | CC="$(tc-getCC)" \ |
54 | LD="$(tc-getCC) -shared" \ |
55 | || die |
56 | } |
57 | |
58 | src_install() { |
59 | make DESTDIR="${D}" install || die "Install failed" |
60 | dodoc README || die |
61 | dohtml -r doc/* || die |
62 | } |
63 | |
64 | |
65 | |
66 | 1.1 dev-lua/luaexpat/metadata.xml |
67 | |
68 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/metadata.xml?rev=1.1&view=markup |
69 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/metadata.xml?rev=1.1&content-type=text/plain |
70 | |
71 | Index: metadata.xml |
72 | =================================================================== |
73 | <?xml version="1.0" encoding="UTF-8"?> |
74 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
75 | <pkgmetadata> |
76 | <herd>no-herd</herd> |
77 | <maintainer> |
78 | <email>djc@g.o</email> |
79 | <name>Dirkjan Ochtman</name> |
80 | </maintainer> |
81 | <maintainer> |
82 | <email>rafaelmartins@g.o</email> |
83 | </maintainer> |
84 | </pkgmetadata> |
85 | |
86 | |
87 | |
88 | 1.1 dev-lua/luaexpat/ChangeLog |
89 | |
90 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/ChangeLog?rev=1.1&view=markup |
91 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luaexpat/ChangeLog?rev=1.1&content-type=text/plain |
92 | |
93 | Index: ChangeLog |
94 | =================================================================== |
95 | # ChangeLog for dev-lua/luaexpat |
96 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
97 | # $Header: /var/cvsroot/gentoo-x86/dev-lua/luaexpat/ChangeLog,v 1.1 2010/11/05 20:26:21 rafaelmartins Exp $ |
98 | |
99 | 05 Nov 2010; Rafael G. Martins <rafaelmartins@g.o> |
100 | +luaexpat-1.1.ebuild, +metadata.xml: |
101 | Moved from dev-libs to dev-lua. Added myself to metadata.xml. |
102 | |
103 | 13 Jul 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o> |
104 | metadata.xml: |
105 | Added missing herd tag to metadata.xml |
106 | |
107 | *luaexpat-1.1 (02 Jan 2010) |
108 | |
109 | 02 Jan 2010; Dirkjan Ochtman <djc@g.o> +luaexpat-1.1.ebuild, |
110 | +files/luaexpat-1.1-makefile.patch, +metadata.xml: |
111 | Add initial version 1.1, required for net-im/prosody (bug 290590). |