/[gentoo-x86]/dev-vcs/svn2git/svn2git-9999.ebuild
Gentoo

Contents of /dev-vcs/svn2git/svn2git-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sat Mar 2 21:10:05 2013 UTC (16 months, 3 weeks ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +3 -3 lines
Move Qt dependencies to the new category

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/svn2git/svn2git-9999.ebuild,v 1.9 2012/08/03 16:58:05 kensington Exp $
4
5 EAPI="2"
6
7 inherit eutils qt4-r2
8 [ "$PV" == "9999" ] && inherit git-2
9
10 DESCRIPTION="Tool for one-time conversion from svn to git."
11 HOMEPAGE="http://gitorious.org/svn2git/svn2git"
12 if [ "$PV" == "9999" ]; then
13 EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
14 https://git.gitorious.org/${PN}/${PN}.git"
15 KEYWORDS=""
16 else
17 SRC_URI="http://gitorious.org/${PN}/${PN}/archive-tarball/${PV} -> ${P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
19 fi
20
21 LICENSE="GPL-3"
22 SLOT="0"
23 IUSE=""
24 # KEYWORDS way up
25
26 DEPEND="dev-vcs/subversion
27 dev-qt/qtcore:4"
28 RDEPEND="${DEPEND}
29 dev-vcs/git"
30
31 S=${WORKDIR}/${PN}-${PN}
32
33 src_prepare() {
34 # Note: patching order matters
35 epatch "${FILESDIR}"/${PN}-1.0.2.1-include-path.patch
36 if [[ "$PV" != "9999" ]]; then
37 epatch "${FILESDIR}"/${P}-version.patch
38 fi
39
40 qt4-r2_src_prepare
41 }
42
43 src_install() {
44 insinto /usr/share/${PN}/samples
45 doins samples/*.rules || die 'doins failed'
46 dobin svn-all-fast-export || die 'dobin failed'
47 dosym svn-all-fast-export /usr/bin/svn2git || die 'dosym failed'
48 }

  ViewVC Help
Powered by ViewVC 1.1.20