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