diff options
author | Stanislav Ochotnicky <sochotnicky@gentoo.org> | 2011-06-15 22:01:26 +0000 |
---|---|---|
committer | Stanislav Ochotnicky <sochotnicky@gentoo.org> | 2011-06-15 22:01:26 +0000 |
commit | 89e156d5bb494e1e9d197a78158565087e0ddc7d (patch) | |
tree | 0aec7e8489640e29316f70a91cb3cd6e6f89b45e /dev-ruby/rcsparse | |
parent | Block linux-firmware. (diff) | |
download | gentoo-2-89e156d5bb494e1e9d197a78158565087e0ddc7d.tar.gz gentoo-2-89e156d5bb494e1e9d197a78158565087e0ddc7d.tar.bz2 gentoo-2-89e156d5bb494e1e9d197a78158565087e0ddc7d.zip |
New ebuild for rcsparse, a dependency of fromcvs
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rcsparse')
-rw-r--r-- | dev-ruby/rcsparse/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/rcsparse/metadata.xml | 10 | ||||
-rw-r--r-- | dev-ruby/rcsparse/rcsparse-0_pre45.ebuild | 50 |
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-ruby/rcsparse/ChangeLog b/dev-ruby/rcsparse/ChangeLog new file mode 100644 index 000000000000..46ac2d637019 --- /dev/null +++ b/dev-ruby/rcsparse/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/rcsparse +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcsparse/ChangeLog,v 1.1 2011/06/15 22:01:26 sochotnicky Exp $ + +*rcsparse-0_pre45 (15 Jun 2011) + + 15 Jun 2011; Stanislav Ochotnicky <sochotnicky@gentoo.org> + +rcsparse-0_pre45.ebuild, +metadata.xml: + New ebuild for rcsparse, a dependency of fromcvs + diff --git a/dev-ruby/rcsparse/metadata.xml b/dev-ruby/rcsparse/metadata.xml new file mode 100644 index 000000000000..7c1e9877610e --- /dev/null +++ b/dev-ruby/rcsparse/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>sochotnicky@gentoo.org</email> + <name>Stanislav Ochotnicky</name> + </maintainer> +</pkgmetadata> + diff --git a/dev-ruby/rcsparse/rcsparse-0_pre45.ebuild b/dev-ruby/rcsparse/rcsparse-0_pre45.ebuild new file mode 100644 index 000000000000..a5d548cdcd00 --- /dev/null +++ b/dev-ruby/rcsparse/rcsparse-0_pre45.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcsparse/rcsparse-0_pre45.ebuild,v 1.1 2011/06/15 22:01:26 sochotnicky Exp $ + +EAPI=2 + +USE_RUBY="ruby18 ree18" + +#mercurial after ruby! +inherit ruby-ng mercurial + +MY_PV="${PV#0_pre}" + +DESCRIPTION="rcsparse ruby module" +HOMEPAGE="http://ww2.fs.ei.tum.de/~corecode/hg/rcsparse" +SRC_URI="" +EHG_REPO_URI="http://ww2.fs.ei.tum.de/~corecode/hg/rcsparse" +EHG_REVISION="${MY_PV}" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RUBY_S="${PN}-${PV}" + +# this is a workaround because combination of ruby-ng and mercurial is +# not working correctly for unpacking +src_prepare() { + for rubyv in ${USE_RUBY}; do + mkdir "${WORKDIR}/$rubyv" + cp -prl "${S}" "${WORKDIR}/$rubyv/${RUBY_S}" + done +} + +each_ruby_configure() { + ${RUBY} extconf.rb || die +} + +each_ruby_compile() { + emake || die +} + +each_ruby_test() { + ${RUBY} test.rb || die +} + +each_ruby_install() { + emake DESTDIR="${D}" install || die +} |