/[gentoo-x86]/dev-util/xxdiff/xxdiff-4.0_beta1_p20110426.ebuild
Gentoo

Contents of /dev-util/xxdiff/xxdiff-4.0_beta1_p20110426.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Dec 14 15:10:59 2011 UTC (3 years ago) by ssuominen
Branch: MAIN
Changes since 1.4: +2 -2 lines
amd64/x86 stable

(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/xxdiff/xxdiff-4.0_beta1_p20110426.ebuild,v 1.4 2011/04/27 14:19:28 ssuominen Exp $
4
5 EAPI=3
6
7 PYTHON_DEPEND="2"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="3.*"
10
11 inherit distutils qt4-r2
12
13 DESCRIPTION="A graphical file and directories comparator and merge tool"
14 HOMEPAGE="http://furius.ca/xxdiff/"
15 SRC_URI="mirror://gentoo/${P}.tar.bz2"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE=""
21
22 RDEPEND="x11-libs/qt-gui:4"
23 DEPEND="${RDEPEND}"
24
25 src_prepare() {
26 pushd src >/dev/null
27 sed -i -e '/qPixmapFromMimeSource/d' *.ui || die #365019
28 qt4-r2_src_prepare
29 popd
30
31 distutils_src_prepare
32 }
33
34 src_configure() {
35 pushd src >/dev/null
36 qt4-r2_src_configure
37 cat Makefile.extra >> Makefile
38 popd
39 }
40
41 src_compile() {
42 pushd src >/dev/null
43 qt4-r2_src_compile
44 popd
45
46 distutils_src_compile
47 }
48
49 src_install() {
50 dobin bin/xxdiff || die
51
52 distutils_src_install
53
54 dodoc CHANGES README* TODO doc/*.txt src/doc.txt
55
56 dohtml doc/*.{png,html} src/doc.html
57
58 # example tools, use these to build your own ones
59 insinto /usr/share/doc/${PF}
60 doins -r tools || die
61
62 # missing EAPI=4 support in distutils.eclass, forced to use prepalldocs
63 prepalldocs
64 }

  ViewVC Help
Powered by ViewVC 1.1.20