summaryrefslogtreecommitdiff
blob: f7b7b467f9a1ba49e9479be7c437c3b308f7f3be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/svk/svk-1.02.ebuild,v 1.2 2005/09/01 03:50:13 weeve Exp $

inherit eutils perl-module

MP=${P/svk/SVK}
DESCRIPTION="A decentralized version control system"
SRC_URI="http://www.cpan.org/authors/id/C/CL/CLKAO/${MP}.tar.gz"
HOMEPAGE="http://svk.elixus.org/"

SLOT="0"
LICENSE="Artistic"
KEYWORDS="~sparc ~x86"
SRC_TEST="do"
IUSE="crypt"
S=${WORKDIR}/${MP}

DEPEND="${DEPEND}
	>=dev-lang/perl-5.8.7
	>=dev-perl/SVN-Simple-0.27
	>=dev-perl/SVN-Mirror-0.65
	>=dev-perl/PerlIO-via-dynamic-0.11
	>=dev-perl/PerlIO-via-symlink-0.02
	>=dev-perl/Data-Hierarchy-0.21
	>=perl-core/File-Temp-0.14
	dev-perl/Algorithm-Annotate
	dev-perl/Algorithm-Diff
	>=dev-perl/yaml-0.38
	dev-perl/Regexp-Shellish
	dev-perl/Pod-Escapes
	dev-perl/Pod-Simple
	dev-perl/Clone
	dev-perl/IO-Digest
	dev-perl/File-Type
	dev-perl/TimeDate
	dev-perl/URI
	>=dev-perl/PerlIO-eol-0.13
	>=dev-perl/locale-maketext-lexicon-0.42
	>=dev-perl/Locale-Maketext-Simple-0.12
	dev-perl/Compress-Zlib
	dev-perl/FreezeThaw
	>=dev-perl/Class-Autouse-1.15
	dev-perl/IO-Pager
	dev-perl/Compress-Zlib
	crypt? ( app-crypt/gnupg )"

src_unpack () {

	unpack ${A}

	if use crypt
	then
			ewarn Self-tests may cause the installation to fail with USE=crypt!
			einfo 'Try USE="-crypt" emerge -v svk if this happens.'
			ebeep 3
	else
			epatch ${FILESDIR}/svk-${PV}-nognupgtest.patch
			rm ${S}/t/72sign.t

	fi
}