summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-11-27 20:20:53 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-11-27 20:20:53 +0000
commitf105cb3c09cb9b2ee21f39e5b2a1511f383ff310 (patch)
treedacd1064108b4159054d7180594614c08e766d0b /dev-lua/lgi
parentAdded myself as maintainer (diff)
downloadhistorical-f105cb3c09cb9b2ee21f39e5b2a1511f383ff310.tar.gz
historical-f105cb3c09cb9b2ee21f39e5b2a1511f383ff310.tar.bz2
historical-f105cb3c09cb9b2ee21f39e5b2a1511f383ff310.zip
Initial commit. Ebuild by Robin H Johnson <robbat2@gentoo.org>, based on submission by Arvydas Sidorenko <asido4@gmail.com>.
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Diffstat (limited to 'dev-lua/lgi')
-rw-r--r--dev-lua/lgi/ChangeLog10
-rw-r--r--dev-lua/lgi/Manifest4
-rw-r--r--dev-lua/lgi/lgi-0.6.2.ebuild39
-rw-r--r--dev-lua/lgi/metadata.xml7
4 files changed, 60 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/Manifest b/dev-lua/lgi/Manifest
new file mode 100644
index 000000000000..dd1f41e3a72d
--- /dev/null
+++ b/dev-lua/lgi/Manifest
@@ -0,0 +1,4 @@
+DIST lgi-0.6.2.tar.gz 257541 SHA256 93b0a520f03822794d94cb86273d0744a3808792e2832b67f17ee03d7ded8773 SHA512 02b75f17f98d7f7240c335384a85cdb0bb1c1b117b4ea8baa065715c4e5ecac946618ef83f92ef476a87db3a17a29a0e21d71f4f79db3bc4e519cf795ae181f5 WHIRLPOOL 52b9165691691fc6214ee5697fd92e5aebacc39b1d5c461c67846545c026523c503ff3abc8820373756f5e2e755b85493763ac4f241f44917d578bf899bf9947
+EBUILD lgi-0.6.2.ebuild 1054 SHA256 a2a640e2683fbb07bc038c958a36d250fd4c9b5e17a2eecc0dd9d3dac8eb5b68 SHA512 2c3c28f90d689a6ad8410c664318a2a68ccd27892cb03ef83f5a8fc29045fc982aecc1a9a2abf35b4c59d9a663f134244c9955fd8a9f17caed2b6ddd544c937c WHIRLPOOL 9d7daae45ca48732d9d6baf02aba5b27ce593b13e6169c9478742fd63f0cf9784dd1d384ff878077a8fa60f81102b245ba988d2be1d43b2e22ae79b8533e8953
+MISC ChangeLog 440 SHA256 5080b38979ba6ab5ef1f5ede73366355f0cf89256583e1bf9846959bedfc5797 SHA512 7f99f4c2635cdea9e7c25f733b2e7624fae7a03e39c006f664a4289278540af463ff70e65a50ed933aa56318be0aae95855b2b9855e80e4fcd570c893b00df7c WHIRLPOOL b62695ba252edb4bb7f7b12acb84d6cbc999cd836b6c4d0d359be7da9a473632989ee1b574fdaf053151f677234f59c15c86c9c20afcf533234c85ffd2c5ff4c
+MISC metadata.xml 208 SHA256 474aad89b28273a47e9d612283399fab63cd9ada8b3c4fa65b16250128abf342 SHA512 761ae3cffc33d4832cd02525e53fa449295e779fac539a6c11d746001689e781939e059c8a444365b42b291e295d5d1620d67af401c2c80c568be8ef596d147d WHIRLPOOL 060c71b4ace40817c787afb38b4919804322e09983dba790fbdcf0c3021a7bfa94ed0f1f4fb5db8893d0c68aebdec378ed055f420501bd7df0f03eec50e220aa
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>