You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1001 B
43 lines
1001 B
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sci-libs/qd/qd-2.3.13.ebuild,v 1.3 2012/08/03 16:43:50 bicatali Exp $
|
|
|
|
EAPI=4
|
|
|
|
AUTOTOOLS_AUTORECONF=yes
|
|
|
|
inherit autotools-utils fortran-2
|
|
|
|
DESCRIPTION="Quad-double and double-double float arithmetics"
|
|
HOMEPAGE="http://crd.lbl.gov/~dhbailey/mpdist/"
|
|
SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz"
|
|
|
|
SLOT="0"
|
|
LICENSE="BSD"
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
IUSE="doc fortran static-libs"
|
|
|
|
DEPEND="fortran? ( virtual/fortran )"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
pkg_setup() {
|
|
use fortran && fortran-2_pkg_setup
|
|
}
|
|
|
|
PATCHES=( "${FILESDIR}"/${P}-autotools.patch )
|
|
|
|
src_configure() {
|
|
local myeconfargs=(
|
|
$(use_enable fortran enable_fortran)
|
|
)
|
|
autotools-utils_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
autotools-utils_src_install
|
|
|
|
use doc || rm "${ED}"/usr/share/doc/${PF}/*.pdf
|
|
dosym qd_real.h /usr/include/qd/qd.h
|
|
dosym dd_real.h /usr/include/qd/dd.h
|
|
}
|