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

Contents of /dev-util/svk/svk-1.06.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.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 ~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/File-Type
37 dev-perl/URI
38 >=dev-perl/PerlIO-eol-0.13
39 >=dev-perl/Class-Autouse-1.15
40 >=virtual/perl-Getopt-Long-2.34
41 nls? (
42 >=dev-perl/locale-maketext-lexicon-0.42
43 >=virtual/perl-Locale-Maketext-Simple-0.12
44 )
45 pager? ( dev-perl/IO-Pager )
46 svn-mirror? ( >=dev-perl/SVN-Mirror-0.66 )
47 patch? (
48 virtual/perl-Compress-Zlib
49 dev-perl/FreezeThaw
50 )
51 crypt? ( app-crypt/gnupg )"
52
53 pkg_setup() {
54 if ! perl -MSVN::Core < /dev/null 2> /dev/null; then
55 eerror "SVN::Core missing or outdated. Please emerge \
56 dev-util/subversion ith the perl USE flag."
57 die "Need Subversion compiled with Perl bindings"
58 fi
59 }
60
61 src_compile() {
62 export PERL_EXTUTILS_AUTOINSTALL="--skipdeps"
63 perl-module_src_compile
64 }
65
66 src_install() {
67 perl-module_src_install
68 if use bash-completion; then
69 dobin contrib/svk-completion.pl
70 echo "complete -C ${DESTTREE}/bin/svk-completion.pl -o default svk" \
71 > svk-completion
72 dobashcompletion svk-completion
73 fi
74 }

  ViewVC Help
Powered by ViewVC 1.1.20