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

Contents of /dev-vcs/svn2git/svn2git-1.0.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed May 8 23:59:50 2013 UTC (11 months, 1 week ago) by sping
Branch: MAIN
CVS Tags: HEAD
dev-vcs/svn2git-1.0.8-r1: Fix for UTF-8 author names

(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)

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.8.ebuild,v 1.2 2013/03/02 21:10:05 hwoarang Exp $
4
5 EAPI="2"
6
7 inherit eutils qt4-r2
8 [ "$PV" == "9999" ] && inherit git
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/svn2git/svn2git.git"
14 KEYWORDS=""
15 else
16 SRC_URI="http://gitorious.org/${PN}/${PN}/archive-tarball/${PV} -> ${P}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
18 fi
19
20 LICENSE="GPL-3"
21 SLOT="0"
22 IUSE=""
23 # KEYWORDS way up
24
25 DEPEND="dev-vcs/subversion
26 dev-qt/qtcore:4"
27 RDEPEND="${DEPEND}
28 dev-vcs/git"
29
30 S=${WORKDIR}/${PN}-${PN}
31
32 src_prepare() {
33 # Note: patching order matters
34 epatch "${FILESDIR}"/${PN}-1.0.2.1-include-path.patch
35 if [[ "$PV" != "9999" ]]; then
36 epatch "${FILESDIR}"/${P}-version.patch
37 fi
38 epatch "${FILESDIR}"/${P}-compile.patch
39 epatch "${FILESDIR}"/${P}-utf8-author-names.patch
40
41 qt4-r2_src_prepare
42 }
43
44 src_install() {
45 insinto /usr/share/${PN}/samples
46 doins samples/*.rules || die 'doins failed'
47 dobin svn-all-fast-export || die 'dobin failed'
48 dosym svn-all-fast-export /usr/bin/svn2git || die 'dosym failed'
49 }

  ViewVC Help
Powered by ViewVC 1.1.20