/[gentoo-x86]/media-gfx/kst/kst-1.7.0-r1.ebuild
Gentoo

Diff of /media-gfx/kst/kst-1.7.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-gfx/kst/Attic/kst-1.7.0-r1.ebuild,v 1.1 2009/02/22 12:50:51 carlo Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-gfx/kst/Attic/kst-1.7.0-r1.ebuild,v 1.2 2009/11/07 00:33:35 ssuominen Exp $
4 4
5EAPI="1" 5EAPI="1"
6 6
7ARTS_REQUIRED="never" 7ARTS_REQUIRED="never"
8 8
13SRC_URI="mirror://kde/stable/apps/KDE3.x/scientific/${P}.tar.gz" 13SRC_URI="mirror://kde/stable/apps/KDE3.x/scientific/${P}.tar.gz"
14LICENSE="GPL-2" 14LICENSE="GPL-2"
15 15
16SLOT="0" 16SLOT="0"
17KEYWORDS="~amd64 ~ppc ~sparc ~x86" 17KEYWORDS="~amd64 ~ppc ~sparc ~x86"
18IUSE="javascript" 18IUSE=""
19 19
20DEPEND="javascript? ( kde-base/kjsembed:3.5 )
21 sys-libs/readline 20DEPEND="sys-libs/readline
22 sci-libs/gsl 21 sci-libs/gsl
23 >=sci-libs/netcdf-3.6.1-r1" 22 >=sci-libs/netcdf-3.6.1-r1"
24RDEPEND="${DEPEND}" 23RDEPEND="${DEPEND}"
25 24
26need-kde 3.5 25need-kde 3.5
31 ) 30 )
32 31
33src_unpack() { 32src_unpack() {
34 kde_src_unpack 33 kde_src_unpack
35 rm -f "${S}"/configure 34 rm -f "${S}"/configure
36 use javascript || sed -e "s:KJSE_SUBDIR=js:KJSE_SUBDIR=:" -i kst/src/extensions/Makefile.am 35 sed -e "s:KJSE_SUBDIR=js:KJSE_SUBDIR=:" -i kst/src/extensions/Makefile.am
37 # automagic dependency, ensure internel lib isn't used by mistake 36 # automagic dependency, ensure internel lib isn't used by mistake
38 echo "FAIL FOR GOOD" > "${S}"/kst/src/extensions/js/kjsembed/global.cpp 37 echo "FAIL FOR GOOD" > "${S}"/kst/src/extensions/js/kjsembed/global.cpp
39} 38}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20