Skip to content

Instantly share code, notes, and snippets.

@richardgv
Created November 27, 2012 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardgv/4154303 to your computer and use it in GitHub Desktop.
Save richardgv/4154303 to your computer and use it in GitHub Desktop.
lgi-0.6.2.ebuild
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
DESCRIPTION="dynamic Lua binding to GObject libraries using GObject-Introspection"
HOMEPAGE="https://github.com/pavouk/lgi"
SRC_URI="mirror://github/pavouk/lgi/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-lang/lua
dev-libs/gobject-introspection"
RDEPEND="${DEPEND}"
src_install() {
docompress -x "/usr/share/doc/${PF}/samples"
default
dodoc docs/*
dodoc -r samples
newbin "${S}/tools/dump-typelib.lua" dump-typelib
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment