annotate dev-util/svk/svk-2.0.2.ebuild @ 83:004e5a953d71

cleanups
author holger@hoho.dyndns.org
date Wed, 03 Dec 2008 03:09:22 +0100
parents 7985ba427c7d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
1 # Copyright 1999-2007 Gentoo Foundation
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
3 # $Header$
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
4
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
5 inherit eutils perl-module bash-completion
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
6
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
7 MY_PV="v${PV}"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
8 MY_P="${PN/svk/SVK}-${MY_PV}"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
9 S="${WORKDIR}/${MY_P}"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
10
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
11 DESCRIPTION="A decentralized version control system"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
12 SRC_URI="mirror://cpan/authors/id/C/CL/CLKAO/${MY_P}.tar.gz"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
13 HOMEPAGE="http://svk.elixus.org/"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
14
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
15 SLOT="0"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
16 LICENSE="|| ( Artistic GPL-2 )"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
17 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
18 IUSE="crypt nls pager patch log4p bash-completion"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
19
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
20 DEPEND="
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
21 >=dev-lang/perl-5.8.7
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
22 >=dev-util/subversion-1.3.0
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
23 >=dev-perl/version-0.68
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
24 dev-perl/Algorithm-Annotate
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
25 >=dev-perl/Algorithm-Diff-1.1901
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
26 >=dev-perl/YAML-Syck-0.60
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
27 >=dev-perl/Data-Hierarchy-0.30
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
28 >=dev-perl/PerlIO-via-dynamic-0.11
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
29 >=dev-perl/PerlIO-via-symlink-0.02
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
30 dev-perl/IO-Digest
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
31 >=dev-perl/SVN-Simple-0.27
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
32 dev-perl/URI
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
33 >=dev-perl/PerlIO-eol-0.13
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
34 >=dev-perl/Class-Autouse-1.15
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
35 dev-perl/App-CLI
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
36 dev-perl/List-MoreUtils
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
37 dev-perl/Class-Accessor
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
38 dev-perl/Class-Data-Inheritable
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
39 >=dev-perl/Path-Class-0.16
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
40 dev-perl/UNIVERSAL-require
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
41 dev-perl/TermReadKey
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
42 >=virtual/perl-File-Temp-0.17
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
43 >=virtual/perl-Getopt-Long-2.35
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
44 dev-perl/Pod-Escapes
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
45 dev-perl/Pod-Simple
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
46 >=virtual/perl-File-Spec-3.19
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
47 nls? (
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
48 >=dev-perl/locale-maketext-lexicon-0.62
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
49 >=dev-perl/Locale-Maketext-Simple-0.16
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
50 )
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
51 pager? ( dev-perl/IO-Pager )
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
52 log4p? ( dev-perl/Log-Log4perl )
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
53 >=dev-perl/SVN-Mirror-0.71
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
54 patch? (
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
55 dev-perl/Compress-Zlib
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
56 dev-perl/FreezeThaw
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
57 )
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
58 crypt? ( app-crypt/gnupg )
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
59 dev-perl/TimeDate"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
60 RDEPEND="${DEPEND}"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
61
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
62
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
63 pkg_setup() {
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
64 if ! perl -MSVN::Core < /dev/null 2> /dev/null; then
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
65 eerror "SVN::Core missing or outdated. Please emerge \
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
66 dev-util/subversion ith the perl USE flag."
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
67 die "Need Subversion compiled with Perl bindings"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
68 fi
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
69 }
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
70
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
71 src_install() {
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
72 perl-module_src_install
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
73 if use bash-completion; then
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
74 dobin contrib/svk-completion.pl
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
75 echo "complete -C ${DESTTREE}/bin/svk-completion.pl -o default svk" \
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
76 > svk-completion
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
77 dobashcompletion svk-completion
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
78 fi
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
79 }