aboutsummaryrefslogtreecommitdiff
blob: 98b2dbb7bc519e5865add47f72a9f78d25c2bdfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

MY_PV="3.0"
MY_PN=${PN}-${MY_PV}

DESCRIPTION="CGNSOO library, provides an object-oriented interface to the CGNS Mid-level library"
HOMEPAGE="http://openfoam-extend.sourceforge.net"
SRC_URI="http://ppa.launchpad.net/cae-team/ppa/ubuntu/pool/main/libc/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="sci-libs/cgnslib"

RDEPEND="${DEPEND}"

S=${WORKDIR}/${PN}_${MY_PV}

src_configure() {
	chmod +x configure
	econf --with-CGNSLIBHOME="/usr"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
}