Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lua/lgi: metadata.xml lgi-0.6.2.ebuild ChangeLog
Date: Tue, 27 Nov 2012 20:21:03
Message-Id: 20121127202048.BF4A020C65@flycatcher.gentoo.org
1 robbat2 12/11/27 20:20:48
2
3 Added: metadata.xml lgi-0.6.2.ebuild ChangeLog
4 Log:
5 Initial commit. Ebuild by Robin H Johnson <robbat2@g.o>, based on submission by Arvydas Sidorenko <asido4@×××××.com>.
6
7 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 dev-lua/lgi/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <maintainer>
21 <email>robbat2@g.o</email>
22 </maintainer>
23 </pkgmetadata>
24
25
26
27 1.1 dev-lua/lgi/lgi-0.6.2.ebuild
28
29 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/lgi-0.6.2.ebuild?rev=1.1&view=markup
30 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/lgi-0.6.2.ebuild?rev=1.1&content-type=text/plain
31
32 Index: lgi-0.6.2.ebuild
33 ===================================================================
34 # Copyright 1999-2012 Gentoo Foundation
35 # Distributed under the terms of the GNU General Public License v2
36 # $Header: /var/cvsroot/gentoo-x86/dev-lua/lgi/lgi-0.6.2.ebuild,v 1.1 2012/11/27 20:20:48 robbat2 Exp $
37
38 EAPI=4
39
40 inherit eutils toolchain-funcs flag-o-matic
41
42 DESCRIPTION="Lua bindings using gobject-introspection"
43 HOMEPAGE="http://github.com/pavouk/lgi"
44 SRC_URI="http://github.com/downloads/pavouk/lgi/${P}.tar.gz"
45
46 LICENSE="MIT"
47 SLOT="0"
48 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
49 IUSE=""
50
51 RDEPEND=">=dev-lang/lua-5.1
52 x11-libs/gtk+[introspection]"
53 DEPEND="${RDEPEND}
54 virtual/pkgconfig"
55
56 src_prepare() {
57 sed -i \
58 -e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
59 -e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
60 "${S}"/lgi/Makefile || die "sed failed"
61 }
62
63 src_compile() {
64 emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
65 }
66
67 src_install() {
68 emake DESTDIR="${D}" install
69 dohtml -r docs/*
70 dodoc README.md
71 }
72
73
74
75
76 1.1 dev-lua/lgi/ChangeLog
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/ChangeLog?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/ChangeLog?rev=1.1&content-type=text/plain
80
81 Index: ChangeLog
82 ===================================================================
83 # ChangeLog for dev-lua/lgi
84 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
85 # $Header: /var/cvsroot/gentoo-x86/dev-lua/lgi/ChangeLog,v 1.1 2012/11/27 20:20:48 robbat2 Exp $
86
87 *lgi-0.6.2 (27 Nov 2012)
88
89 27 Nov 2012; Robin H. Johnson <robbat2@g.o> +lgi-0.6.2.ebuild,
90 +metadata.xml:
91 Initial commit. Ebuild by Robin H Johnson <robbat2@g.o>, based on
92 submission by Arvydas Sidorenko <asido4@×××××.com>.