diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2010-03-24 19:14:04 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2010-03-24 19:14:04 +0000 |
commit | 94cc6300ddff5b257f0bc6757dbd04aed3ca0fcb (patch) | |
tree | 7d4826e88d37e42394f0e5e269a80c0877217b67 /dev-util | |
parent | stable x86, bug 310183 (diff) | |
download | gentoo-2-94cc6300ddff5b257f0bc6757dbd04aed3ca0fcb.tar.gz gentoo-2-94cc6300ddff5b257f0bc6757dbd04aed3ca0fcb.tar.bz2 gentoo-2-94cc6300ddff5b257f0bc6757dbd04aed3ca0fcb.zip |
Initial commit.
Package required for teeworlds, bug 206287.
(Portage version: 15511-svn/cvs/Linux i686)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/bam/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/bam/bam-0.2.0.ebuild | 49 | ||||
-rw-r--r-- | dev-util/bam/metadata.xml | 10 |
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-util/bam/ChangeLog b/dev-util/bam/ChangeLog new file mode 100644 index 000000000000..dab2d6eef513 --- /dev/null +++ b/dev-util/bam/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-util/bam +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/bam/ChangeLog,v 1.1 2010/03/24 19:14:04 volkmar Exp $ + +*bam-0.2.0 (24 Mar 2010) + + 24 Mar 2010; Mounir Lamouri <volkmar@gentoo.org> +bam-0.2.0.ebuild, + +metadata.xml: + Initial commit. Package required for teeworlds, bug 206287 + diff --git a/dev-util/bam/bam-0.2.0.ebuild b/dev-util/bam/bam-0.2.0.ebuild new file mode 100644 index 000000000000..e734a5283c0f --- /dev/null +++ b/dev-util/bam/bam-0.2.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/bam/bam-0.2.0.ebuild,v 1.1 2010/03/24 19:14:04 volkmar Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Fast and flexible Lua-based build system" +HOMEPAGE="http://matricks.github.com/bam/" +SRC_URI="http://github.com/downloads/matricks/${PN}/${P}.tar.gz + mirror://gentoo/${P}-gentoo.tar.bz2" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc test" + +RDEPEND="dev-lang/lua" +DEPEND="${RDEPEND} + doc? ( dev-lang/python ) + test? ( dev-lang/python )" + +src_prepare() { + cp "${WORKDIR}"/Makefile "${S}"/Makefile || die "cp failed" + + if use test; then + epatch "${WORKDIR}"/${P}-test.py.patch + fi +} + +src_compile() { + emake txt2c || die "emake failed" + emake internal_base || die "emake failed" + emake ${PN} || die "emake failed" + + if use doc; then + python scripts/gendocs.py || die "doc generation failed" + fi +} + +src_install() { + dobin src/${PN} || die "dobin failed" + doman "${WORKDIR}"/${PN}.1 || die "doman failed" + + if use doc; then + dohtml docs/${PN}{.html,_logo.png} || die "dohtml failed" + fi +} diff --git a/dev-util/bam/metadata.xml b/dev-util/bam/metadata.xml new file mode 100644 index 000000000000..d44dc8ef07cc --- /dev/null +++ b/dev-util/bam/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>volkmar@gentoo.org</email> + <name>Mounir Lamouri</name> + </maintainer> +</pkgmetadata> + |