/[gentoo-x86]/app-editors/qxmledit/qxmledit-0.3.0-r1.ebuild
Gentoo

Contents of /app-editors/qxmledit/qxmledit-0.3.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Jul 2 08:00:46 2010 UTC (8 years, 11 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old ebuilds
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.3.0-r1.ebuild,v 1.3 2010/02/07 19:46:44 maekke Exp $
4
5 EAPI="2"
6
7 inherit qt4-r2
8
9 MY_PN="${PN}-src"
10 MY_P="${MY_PN}-${PV}"
11
12 DESCRIPTION="Qt4 XML Editor"
13 HOMEPAGE="http://code.google.com/p/qxmledit/"
14 SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="amd64 x86"
19 IUSE="debug"
20
21 DEPEND="x11-libs/qt-gui:4"
22 RDEPEND="${DEPEND}"
23
24 S="${WORKDIR}/${P}/src/"
25
26 DOCS="AUTHORS NEWS README TODO"
27 DOCSDIR="${WORKDIR}/${P}/"
28
29 src_prepare(){
30 # fix installation path
31 sed -i "/^target.path/ s/\/opt\/${PN}/\/usr\/bin/" QXmlEdit.pro || \
32 die "failed to fix installation path"
33 # fix translations
34 sed -i "/^translations.path/ s/\/opt/\/usr\/share/" QXmlEdit.pro || \
35 die "failed to fix translations"
36 qt4-r2_src_prepare
37 }

  ViewVC Help
Powered by ViewVC 1.1.20