From: "Naohiro Aota" <naota@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-util/ninja/
Date: Mon, 28 May 2012 15:36:42 +0000 (UTC) [thread overview]
Message-ID: <1338219355.79a4de35b2f6b5a5376ba7709a04a58d91e25dbc.naota@gentoo> (raw)
commit: 79a4de35b2f6b5a5376ba7709a04a58d91e25dbc
Author: Naohiro Aota <naota <AT> gentoo <DOT> org>
AuthorDate: Mon May 28 15:28:43 2012 +0000
Commit: Naohiro Aota <naota <AT> gentoo <DOT> org>
CommitDate: Mon May 28 15:35:55 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=79a4de35
New package dev-util/ninja
(Portage version: 2.2.0_alpha100/git/Linux x86_64, signed Manifest commit with key F8551514)
---
dev-util/ninja/ChangeLog | 7 ++++
dev-util/ninja/metadata.xml | 8 ++++
dev-util/ninja/ninja-120508.ebuild | 65 +++++++++++++++++++++++++++++++++
dev-util/ninja/ninja-999999.ebuild | 69 ++++++++++++++++++++++++++++++++++++
4 files changed, 149 insertions(+), 0 deletions(-)
diff --git a/dev-util/ninja/ChangeLog b/dev-util/ninja/ChangeLog
new file mode 100644
index 0000000..d5be0f5
--- /dev/null
+++ b/dev-util/ninja/ChangeLog
@@ -0,0 +1,7 @@
+*ninja-120508 (28 May 2012)
+*ninja-999999 (28 May 2012)
+
+ 28 May 2012; Naohiro Aota <naota@gentoo.org> +metadata.xml,
+ +ninja-120508.ebuild, +ninja-999999.ebuild:
+ New package dev-util/ninja
+
diff --git a/dev-util/ninja/metadata.xml b/dev-util/ninja/metadata.xml
new file mode 100644
index 0000000..c4c0d13
--- /dev/null
+++ b/dev-util/ninja/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>naota@gentoo.org</email>
+ </maintainer>
+ <longdescription>A small build system similar to make.</longdescription>
+</pkgmetadata>
diff --git a/dev-util/ninja/ninja-120508.ebuild b/dev-util/ninja/ninja-120508.ebuild
new file mode 100644
index 0000000..c4dd891
--- /dev/null
+++ b/dev-util/ninja/ninja-120508.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+
+inherit python toolchain-funcs elisp-common eutils
+
+if [ "${PV}" = "999999" ]; then
+ EGIT_REPO_URI="git://github.com/martine/ninja.git http://github.com/martine/ninja.git"
+ inherit git-2
+ KEYWORDS=""
+else
+ inherit vcs-snapshot
+ SRC_URI="https://github.com/martine/ninja/zipball/release-${PV} -> ${P}.zip"
+ KEYWORDS="~amd64"
+ DEPEND="app-arch/unzip"
+fi
+
+DESCRIPTION="A small build system similar to make."
+HOMEPAGE="http://github.com/martine/ninja"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+IUSE="doc zsh-completion emacs"
+
+DEPEND="${DEPEND}
+ doc? ( app-text/asciidoc app-doc/doxygen )"
+RDEPEND="zsh-completion? ( app-shells/zsh )
+ emacs? ( virtual/emacs )"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_compile() {
+ tc-export BUILD_CXX
+ ./bootstrap.py || die "Failed to build."
+ if use doc; then
+ ./ninja doxygen || die "Failed to generate doc."
+ fi
+
+ if use emacs; then
+ cd misc
+ elisp-compile ninja-mode.el || die "Failed to compile elisps."
+ fi
+}
+
+src_install() {
+ dodoc README HACKING
+ use doc && dohtml -r doc/doxygen/html/*
+ dobin ninja
+
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ newins misc/zsh-completion _ninja
+ fi
+
+ if use emacs; then
+ elisp-install ${PN} misc/ninja-mode.el*
+ fi
+}
diff --git a/dev-util/ninja/ninja-999999.ebuild b/dev-util/ninja/ninja-999999.ebuild
new file mode 100644
index 0000000..b87c91b
--- /dev/null
+++ b/dev-util/ninja/ninja-999999.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+
+inherit python toolchain-funcs elisp-common eutils
+
+if [ "${PV}" = "999999" ]; then
+ EGIT_REPO_URI="git://github.com/martine/ninja.git http://github.com/martine/ninja.git"
+ inherit git-2
+ KEYWORDS=""
+else
+ inherit vcs-snapshot
+ SRC_URI="https://github.com/martine/ninja/zipball/release-${PV} -> ${P}.zip"
+ KEYWORDS="~amd64"
+ DEPEND="app-arch/unzip"
+fi
+
+DESCRIPTION="A small build system similar to make."
+HOMEPAGE="http://github.com/martine/ninja"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+IUSE="doc zsh-completion emacs"
+
+DEPEND="${DEPEND}
+ doc? (
+ app-text/asciidoc
+ app-doc/doxygen
+ media-gfx/graphviz
+ )"
+RDEPEND="zsh-completion? ( app-shells/zsh )
+ emacs? ( virtual/emacs )"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_compile() {
+ tc-export BUILD_CXX
+ ./bootstrap.py || die "Failed to build."
+ if use doc; then
+ ./ninja doxygen || die "Failed to generate doc."
+ fi
+
+ if use emacs; then
+ cd misc
+ elisp-compile ninja-mode.el || die "Failed to compile elisps."
+ fi
+}
+
+src_install() {
+ dodoc README HACKING
+ use doc && dohtml -r doc/doxygen/html/*
+ dobin ninja
+
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ newins misc/zsh-completion _ninja
+ fi
+
+ if use emacs; then
+ elisp-install ${PN} misc/ninja-mode.el*
+ fi
+}
next reply other threads:[~2012-05-28 15:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-28 15:36 Naohiro Aota [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-12-04 9:29 [gentoo-commits] proj/betagarden:master commit in: dev-util/ninja/ Naohiro Aota
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1338219355.79a4de35b2f6b5a5376ba7709a04a58d91e25dbc.naota@gentoo \
--to=naota@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox