diff options
author | Guillaume Destuynder <kang@gentoo.org> | 2006-02-16 13:33:50 +0000 |
---|---|---|
committer | Guillaume Destuynder <kang@gentoo.org> | 2006-02-16 13:33:50 +0000 |
commit | a329c430e77c5ea82597bae9273b598160840fde (patch) | |
tree | fa5770f758c492a1693b78d40daccce38efbd82f /dev-util/svk/svk-1.06-r1.ebuild | |
parent | Add "bin" to CABAL_FEATURES in preparation for pending eclass updates. (diff) | |
download | gentoo-2-a329c430e77c5ea82597bae9273b598160840fde.tar.gz gentoo-2-a329c430e77c5ea82597bae9273b598160840fde.tar.bz2 gentoo-2-a329c430e77c5ea82597bae9273b598160840fde.zip |
Fixes #122506 - missing dependency
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-util/svk/svk-1.06-r1.ebuild')
-rw-r--r-- | dev-util/svk/svk-1.06-r1.ebuild | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/dev-util/svk/svk-1.06-r1.ebuild b/dev-util/svk/svk-1.06-r1.ebuild new file mode 100644 index 000000000000..94014ddf12b4 --- /dev/null +++ b/dev-util/svk/svk-1.06-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/svk/svk-1.06-r1.ebuild,v 1.1 2006/02/16 13:33:50 kang Exp $ + +inherit eutils perl-module bash-completion + +MY_P=${P/svk/SVK} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="A decentralized version control system" +SRC_URI="mirror://cpan/authors/id/C/CL/CLKAO/${MY_P}.tar.gz" +HOMEPAGE="http://svk.elixus.org/" + +SLOT="0" +LICENSE="|| ( Artistic GPL-2 )" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="crypt nls pager svn-mirror patch" + +DEPEND=" + >=dev-lang/perl-5.8.7 + >=dev-util/subversion-1.0.7 + dev-perl/Algorithm-Annotate + dev-perl/Algorithm-Diff + >=dev-perl/yaml-0.38 + dev-perl/Regexp-Shellish + >=dev-perl/Data-Hierarchy-0.21 + >=virtual/perl-File-Temp-0.14 + dev-perl/Clone + dev-perl/Pod-Escapes + dev-perl/Pod-Simple + >=dev-perl/PerlIO-via-dynamic-0.11 + >=dev-perl/PerlIO-via-symlink-0.02 + dev-perl/IO-Digest + >=dev-perl/SVN-Simple-0.27 + dev-perl/TimeDate + dev-perl/TermReadKey + dev-perl/File-Type + dev-perl/URI + >=dev-perl/PerlIO-eol-0.13 + >=dev-perl/Class-Autouse-1.15 + >=virtual/perl-Getopt-Long-2.34 + nls? ( + >=dev-perl/locale-maketext-lexicon-0.42 + >=dev-perl/Locale-Maketext-Simple-0.12 + ) + pager? ( dev-perl/IO-Pager ) + svn-mirror? ( >=dev-perl/SVN-Mirror-0.66 ) + patch? ( + dev-perl/Compress-Zlib + dev-perl/FreezeThaw + ) + crypt? ( app-crypt/gnupg )" + + +pkg_setup() { + if ! perl -MSVN::Core < /dev/null 2> /dev/null; then + eerror "SVN::Core missing or outdated. Please emerge \ + dev-util/subversion ith the perl USE flag." + die "Need Subversion compiled with Perl bindings" + fi +} + +src_compile() { + export PERL_EXTUTILS_AUTOINSTALL="--skipdeps" + perl-module_src_compile +} + +src_install() { + perl-module_src_install + if use bash-completion; then + dobin contrib/svk-completion.pl + echo "complete -C ${DESTTREE}/bin/svk-completion.pl -o default svk" \ + > svk-completion + dobashcompletion svk-completion + fi +} |