/[gentoo-x86]/dev-util/svk/svk-1.06-r1.ebuild
Gentoo

Contents of /dev-util/svk/svk-1.06-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Jan 2 14:04:03 2009 UTC (10 years, 9 months ago) by darkside
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
(non maintainer commit) Version bump thanks to the work by Mark Davies in bug 162743
(Portage version: 2.2_rc20/cvs/Linux 2.6.27.10 x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/svk/svk-1.06-r1.ebuild,v 1.4 2008/11/18 16:04:43 tove Exp $
4
5 inherit eutils perl-module bash-completion
6
7 MY_P=${P/svk/SVK}
8 S=${WORKDIR}/${MY_P}
9
10 DESCRIPTION="A decentralized version control system"
11 SRC_URI="mirror://cpan/authors/id/C/CL/CLKAO/${MY_P}.tar.gz"
12 HOMEPAGE="http://svk.elixus.org/"
13
14 SLOT="0"
15 LICENSE="|| ( Artistic GPL-2 )"
16 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
17 IUSE="crypt nls pager svn-mirror patch"
18
19 DEPEND="
20 >=dev-lang/perl-5.8.7
21 >=dev-util/subversion-1.0.7
22 dev-perl/Algorithm-Annotate
23 dev-perl/Algorithm-Diff
24 >=dev-perl/yaml-0.38
25 dev-perl/Regexp-Shellish
26 >=dev-perl/Data-Hierarchy-0.21
27 >=virtual/perl-File-Temp-0.14
28 dev-perl/Clone
29 virtual/perl-Pod-Escapes
30 virtual/perl-Pod-Simple
31 >=dev-perl/PerlIO-via-dynamic-0.11
32 >=dev-perl/PerlIO-via-symlink-0.02
33 dev-perl/IO-Digest
34 >=dev-perl/SVN-Simple-0.27
35 dev-perl/TimeDate
36 dev-perl/TermReadKey
37 dev-perl/File-Type
38 dev-perl/URI
39 >=dev-perl/PerlIO-eol-0.13
40 >=dev-perl/Class-Autouse-1.15
41 >=virtual/perl-Getopt-Long-2.34
42 nls? (
43 >=dev-perl/locale-maketext-lexicon-0.42
44 >=virtual/perl-Locale-Maketext-Simple-0.12
45 )
46 pager? ( dev-perl/IO-Pager )
47 svn-mirror? ( >=dev-perl/SVN-Mirror-0.66 )
48 patch? (
49 virtual/perl-Compress-Zlib
50 dev-perl/FreezeThaw
51 )
52 crypt? ( app-crypt/gnupg )"
53
54 pkg_setup() {
55 if ! perl -MSVN::Core < /dev/null 2> /dev/null; then
56 eerror "SVN::Core missing or outdated. Please emerge \
57 dev-util/subversion ith the perl USE flag."
58 die "Need Subversion compiled with Perl bindings"
59 fi
60 }
61
62 src_compile() {
63 export PERL_EXTUTILS_AUTOINSTALL="--skipdeps"
64 perl-module_src_compile
65 }
66
67 src_install() {
68 perl-module_src_install
69 if use bash-completion; then
70 dobin contrib/svk-completion.pl
71 echo "complete -C ${DESTTREE}/bin/svk-completion.pl -o default svk" \
72 > svk-completion
73 dobashcompletion svk-completion
74 fi
75 }

  ViewVC Help
Powered by ViewVC 1.1.20