comparison dev-util/svk/svk-2.0.2.ebuild @ 0:7985ba427c7d

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