1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit desktop qmake-utils
7 [[ "${PV}" == "9999" ]] && inherit git-r3
9 DESCRIPTION="Tool for one-time conversion from svn to git"
10 HOMEPAGE="https://github.com/svn-all-fast-export/svn2git"
11 if [[ "${PV}" == "9999" ]]; then
12 EGIT_REPO_URI="https://github.com/svn-all-fast-export/svn2git.git"
14 SRC_URI="https://github.com/svn-all-fast-export/svn2git/archive/${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
33 APR_INCLUDE=/usr/include/apr-1
35 SVN_INCLUDE=/usr/include/subversion-1
38 eqmake5 "${qmake_args[@]}" fast-export2.pro
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'