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

Contents of /dev-util/svk/svk-1.08.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri May 7 18:59:04 2010 UTC (9 years, 5 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Package moved from dev-util to dev-vcs, bug 56967.

1 # Copyright 1999-2009 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.08.ebuild,v 1.6 2009/10/12 08:20:40 ssuominen 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 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-1.16
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 >=virtual/perl-File-Spec-3.18
43 >=dev-perl/SVN-Mirror-0.66
44 nls? (
45 >=dev-perl/locale-maketext-lexicon-0.42
46 >=virtual/perl-Locale-Maketext-Simple-0.12
47 )
48 pager? ( dev-perl/IO-Pager )
49 >=dev-perl/SVN-Mirror-0.66
50 patch? (
51 virtual/perl-IO-Compress
52 dev-perl/FreezeThaw
53 )
54 crypt? ( app-crypt/gnupg )"
55 RDEPEND="${DEPEND}"
56
57 pkg_setup() {
58 if ! perl -MSVN::Core < /dev/null 2> /dev/null; then
59 eerror "SVN::Core missing or outdated. Please emerge \
60 dev-util/subversion ith the perl USE flag."
61 die "Need Subversion compiled with Perl bindings"
62 fi
63 }
64
65 src_unpack() {
66 unpack ${A}
67 epatch "${FILESDIR}"/svk-1.08-xxdiff.patch
68 }
69
70 src_install() {
71 perl-module_src_install
72 if use bash-completion; then
73 dobin contrib/svk-completion.pl
74 echo "complete -C ${DESTTREE}/bin/svk-completion.pl -o default svk" \
75 > svk-completion
76 dobashcompletion svk-completion
77 fi
78 }

  ViewVC Help
Powered by ViewVC 1.1.20