Mercurial > hg > portage
view dev-util/svk/svk-2.0.2.ebuild @ 55:11f27faa9896
revbump to 1.4.0
author | holger@hoho.dyndns.org |
---|---|
date | Tue, 29 Jul 2008 18:56:27 +0200 |
parents | 7985ba427c7d |
children |
line wrap: on
line source
# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ inherit eutils perl-module bash-completion MY_PV="v${PV}" MY_P="${PN/svk/SVK}-${MY_PV}" 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 ~ia64 ~ppc ~sparc ~x86" IUSE="crypt nls pager patch log4p bash-completion" DEPEND=" >=dev-lang/perl-5.8.7 >=dev-util/subversion-1.3.0 >=dev-perl/version-0.68 dev-perl/Algorithm-Annotate >=dev-perl/Algorithm-Diff-1.1901 >=dev-perl/YAML-Syck-0.60 >=dev-perl/Data-Hierarchy-0.30 >=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/URI >=dev-perl/PerlIO-eol-0.13 >=dev-perl/Class-Autouse-1.15 dev-perl/App-CLI dev-perl/List-MoreUtils dev-perl/Class-Accessor dev-perl/Class-Data-Inheritable >=dev-perl/Path-Class-0.16 dev-perl/UNIVERSAL-require dev-perl/TermReadKey >=virtual/perl-File-Temp-0.17 >=virtual/perl-Getopt-Long-2.35 dev-perl/Pod-Escapes dev-perl/Pod-Simple >=virtual/perl-File-Spec-3.19 nls? ( >=dev-perl/locale-maketext-lexicon-0.62 >=dev-perl/Locale-Maketext-Simple-0.16 ) pager? ( dev-perl/IO-Pager ) log4p? ( dev-perl/Log-Log4perl ) >=dev-perl/SVN-Mirror-0.71 patch? ( dev-perl/Compress-Zlib dev-perl/FreezeThaw ) crypt? ( app-crypt/gnupg ) dev-perl/TimeDate" RDEPEND="${DEPEND}" 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_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 }