/[gentoo-x86]/sci-visualization/udav/udav-0.7.1.2-r1.ebuild
Gentoo

Contents of /sci-visualization/udav/udav-0.7.1.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Aug 4 17:55:35 2012 UTC (2 years, 4 months ago) by bicatali
Branch: MAIN
Changes since 1.1: +3 -3 lines
Block newer mathgl

(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

1 jlec 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 bicatali 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/udav/udav-0.7.1.2-r1.ebuild,v 1.1 2012/05/02 17:26:18 jlec Exp $
4 jlec 1.1
5     EAPI=4
6    
7     LANGS="ru"
8    
9     inherit qt4-r2
10    
11     DESCRIPTION="Universal Data Array Visualization"
12     HOMEPAGE="http://udav.sourceforge.net/"
13     SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
14    
15     LICENSE="GPL-2"
16     SLOT="0"
17 bicatali 1.2 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 jlec 1.1 IUSE=""
19    
20     DEPEND="
21     sci-libs/hdf5
22 bicatali 1.2 =sci-libs/mathgl-1*[hdf5,gsl,qt4]
23 jlec 1.1 x11-libs/qt-core:4
24     x11-libs/qt-gui:4"
25     RDEPEND="${DEPEND}"
26    
27     PATCHES=(
28     "${FILESDIR}/${P}-desktopfile.patch"
29     "${FILESDIR}/${P}-pro.patch"
30     )
31    
32     src_prepare() {
33     qt4-r2_src_prepare
34     if ! use linguas_ru ; then
35     sed -e '/udav_ru.qm$/d' -i src/src.pro || die "sed failed"
36     fi
37     }
38    
39     src_install() {
40     qt4-r2_src_install
41    
42     dosym /usr/share/icons/hicolor/64x64/apps/${PN}.png \
43     /usr/share/pixmaps/${PN}.png
44     }

  ViewVC Help
Powered by ViewVC 1.1.20