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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Mar 2 21:10:05 2013 UTC (2 years, 2 months ago) by hwoarang
Branch: MAIN
Changes since 1.2: +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-1.0.2.1.ebuild,v 1.2 2012/08/03 16:58:05 kensington Exp $
4
5 EAPI="2"
6
7 inherit eutils qt4-r2
8 [ "$PV" == "9999" ] && inherit git
9
10 MY_PV="1.0.2-1-gebac099"
11
12 DESCRIPTION="Tool for one-time conversion from svn to git."
13 HOMEPAGE="http://gitorious.org/svn2git/svn2git"
14 if [ "$PV" == "9999" ]; then
15 EGIT_REPO_URI="git://gitorious.org/svn2git/svn2git.git"
16 KEYWORDS=""
17 else
18 SRC_URI="http://gitorious.org/${PN}/${PN}/archive-tarball/${MY_PV} -> ${P}.tar.gz"
19 KEYWORDS="~amd64 ~x86"
20 fi
21
22 LICENSE="GPL-3"
23 SLOT="0"
24 IUSE=""
25 # KEYWORDS way up
26
27 DEPEND="dev-vcs/subversion
28 dev-qt/qtcore:4"
29 RDEPEND="${DEPEND}
30 dev-vcs/git"
31
32 S=${WORKDIR}/${PN}-${PN}
33
34 src_prepare() {
35 # Note: patching order matters
36 epatch "${FILESDIR}"/${PN}-1.0.2.1-include-path.patch
37 [ "$PV" != "9999" ] && epatch "${FILESDIR}"/${PN}-1.0.2.1-version.patch
38
39 qt4-r2_src_prepare
40 }
41
42 src_install() {
43 insinto /usr/share/${PN}/samples
44 doins samples/*.rules || die 'doins failed'
45 dobin svn-all-fast-export || die 'dobin failed'
46 dosym svn-all-fast-export /usr/bin/svn2git || die 'dosym failed'
47 }

  ViewVC Help
Powered by ViewVC 1.1.20