diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-27 20:20:48 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-27 20:20:48 +0000 |
commit | 45875553a558f55918bf4400b45def4b6e4b74f6 (patch) | |
tree | 69ba066800cc423d3f399097de246c48ddfcc5bb /dev-lua | |
parent | Remove old (diff) | |
download | gentoo-2-45875553a558f55918bf4400b45def4b6e4b74f6.tar.gz gentoo-2-45875553a558f55918bf4400b45def4b6e4b74f6.tar.bz2 gentoo-2-45875553a558f55918bf4400b45def4b6e4b74f6.zip |
Initial commit. Ebuild by Robin H Johnson <robbat2@gentoo.org>, based on submission by Arvydas Sidorenko <asido4@gmail.com>.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/lgi/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lua/lgi/lgi-0.6.2.ebuild | 39 | ||||
-rw-r--r-- | dev-lua/lgi/metadata.xml | 7 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-lua/lgi/ChangeLog b/dev-lua/lgi/ChangeLog new file mode 100644 index 000000000000..8e8bac46dcb0 --- /dev/null +++ b/dev-lua/lgi/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lua/lgi +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/lgi/ChangeLog,v 1.1 2012/11/27 20:20:48 robbat2 Exp $ + +*lgi-0.6.2 (27 Nov 2012) + + 27 Nov 2012; Robin H. Johnson <robbat2@gentoo.org> +lgi-0.6.2.ebuild, + +metadata.xml: + Initial commit. Ebuild by Robin H Johnson <robbat2@gentoo.org>, based on + submission by Arvydas Sidorenko <asido4@gmail.com>. diff --git a/dev-lua/lgi/lgi-0.6.2.ebuild b/dev-lua/lgi/lgi-0.6.2.ebuild new file mode 100644 index 000000000000..1db2a70b3226 --- /dev/null +++ b/dev-lua/lgi/lgi-0.6.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/lgi/lgi-0.6.2.ebuild,v 1.1 2012/11/27 20:20:48 robbat2 Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="Lua bindings using gobject-introspection" +HOMEPAGE="http://github.com/pavouk/lgi" +SRC_URI="http://github.com/downloads/pavouk/lgi/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-lang/lua-5.1 + x11-libs/gtk+[introspection]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i \ + -e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \ + -e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \ + "${S}"/lgi/Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" install + dohtml -r docs/* + dodoc README.md +} + diff --git a/dev-lua/lgi/metadata.xml b/dev-lua/lgi/metadata.xml new file mode 100644 index 000000000000..4f84c8541bd7 --- /dev/null +++ b/dev-lua/lgi/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>robbat2@gentoo.org</email> + </maintainer> +</pkgmetadata> |