1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
8 inherit distutils-r1 qmake-utils
10 DESCRIPTION="A graphical file and directories comparator and merge tool"
11 HOMEPAGE="http://furius.ca/xxdiff/"
12 # generated as 'hg archive xxdiff-${P}.tar'
13 # from https://bitbucket.org/blais/xxdiff tree
14 #SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
15 SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.bz2"
33 "${FILESDIR}"/${PN}-4.0.1-no-throw-in-dtor.patch
34 "${FILESDIR}"/${P}-cxx11.patch
38 pushd src >/dev/null || die
39 # mimic src/Makefile.bootstrap
41 cat Makefile.extra >> Makefile || die
44 distutils-r1_src_configure
48 emake -C src MAKEDIR=.
50 distutils-r1_src_compile
60 distutils-r1_src_install
62 dodoc CHANGES README* TODO doc/*.txt src/doc.txt
64 # example tools, use these to build your own ones