/[gentoo-x86]/sci-geosciences/gebabbel/gebabbel-0.4.ebuild
Gentoo

Contents of /sci-geosciences/gebabbel/gebabbel-0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Aug 1 15:57:59 2012 UTC (2 years, 3 months ago) by jlec
Branch: MAIN
Changes since 1.1: +7 -10 lines
sci-geosciences/gebabbel: Respect CFLAGS, #429356; use eclass functions, install CREDITS

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

1 jlec 1.2 # Copyright 1999-2012 Gentoo Foundation
2 scarabeus 1.1 # Distributed under the terms of the GNU General Public License v2
3 jlec 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gebabbel/gebabbel-0.4.ebuild,v 1.1 2011/06/16 14:35:41 scarabeus Exp $
4 scarabeus 1.1
5     EAPI=4
6    
7     MY_P=${P/g/G}
8 jlec 1.2
9 scarabeus 1.1 inherit eutils qt4-r2
10    
11     DESCRIPTION="QT-Frontend to load and convert gps tracks with gpsbabel"
12     HOMEPAGE="http://gebabbel.sourceforge.net/"
13     SRC_URI="mirror://sourceforge/${PN}/${MY_P}-Src.tar.gz"
14    
15     LICENSE="GPL-2"
16     SLOT="0"
17     KEYWORDS="~amd64 ~x86"
18     IUSE=""
19    
20     DEPEND="
21     x11-libs/qt-core:4
22     x11-libs/qt-gui:4[accessibility]
23     "
24     RDEPEND="${DEPEND}
25     sci-geosciences/gpsbabel
26     "
27    
28     PATCHES=(
29     "${FILESDIR}"/${PN}-0.3-gcc45.patch
30     )
31    
32     S=${WORKDIR}/${MY_P}
33    
34     src_prepare() {
35     base_src_prepare
36     # do not mess with cflags
37 jlec 1.2 sed \
38     -e "/QMAKE_CXXFLAGS/s:=.*$:= ${CXXFLAGS}:g" \
39     -i *.pro || die
40 scarabeus 1.1 }
41    
42     src_install() {
43     dobin bin/${PN}
44 jlec 1.2 dodoc CHANGELOG CREDITS
45 scarabeus 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20