summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-08-05 20:50:19 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-08-05 20:50:19 +0000
commit9dc6ffa62d638fc2b5d25b7307aec0120ec23668 (patch)
tree51f67a4263a21c222deda7a1e04fe495ea77af05 /sci-astronomy
parentKeyword ~arm (diff)
downloadgentoo-2-9dc6ffa62d638fc2b5d25b7307aec0120ec23668.tar.gz
gentoo-2-9dc6ffa62d638fc2b5d25b7307aec0120ec23668.tar.bz2
gentoo-2-9dc6ffa62d638fc2b5d25b7307aec0120ec23668.zip
do not force doc install
(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/wcslib/ChangeLog6
-rw-r--r--sci-astronomy/wcslib/wcslib-4.13.4.ebuild55
-rw-r--r--sci-astronomy/wcslib/wcslib-4.14.ebuild10
3 files changed, 11 insertions, 60 deletions
diff --git a/sci-astronomy/wcslib/ChangeLog b/sci-astronomy/wcslib/ChangeLog
index 0175f43592d2..3a2ea7e90501 100644
--- a/sci-astronomy/wcslib/ChangeLog
+++ b/sci-astronomy/wcslib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-astronomy/wcslib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.29 2012/07/17 19:59:47 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.30 2012/08/05 20:50:19 bicatali Exp $
+
+ 05 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> -wcslib-4.13.4.ebuild,
+ wcslib-4.14.ebuild:
+ do not force doc install
*wcslib-4.14 (17 Jul 2012)
diff --git a/sci-astronomy/wcslib/wcslib-4.13.4.ebuild b/sci-astronomy/wcslib/wcslib-4.13.4.ebuild
deleted file mode 100644
index e24a4ce4f6af..000000000000
--- a/sci-astronomy/wcslib/wcslib-4.13.4.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.13.4.ebuild,v 1.1 2012/04/05 20:42:47 xarthisius Exp $
-
-EAPI=4
-
-inherit eutils fortran-2
-
-DESCRIPTION="Astronomical World Coordinate System transformations library"
-HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/"
-SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="LGPL-3"
-KEYWORDS="~amd64 ~x86"
-IUSE="fortran fits pgplot static-libs"
-
-RDEPEND="fortran? ( virtual/fortran )
- fits? ( sci-libs/cfitsio )
- pgplot? ( sci-libs/pgplot )"
-DEPEND="${RDEPEND}
- sys-devel/flex"
-
-pkg_setup() {
- use fortran && fortran-2_pkg_setup
-}
-
-src_prepare() {
- sed -i -e 's/COPYING\*//' GNUmakefile || die
-}
-
-src_configure() {
- econf \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
- $(use_enable static-libs static) \
- $(use_enable fortran) \
- $(use_with fits cfitsio) \
- $(use_with pgplot)
-}
-
-src_compile() {
- # nasty makefile, debugging means full rewrite
- emake -j1
-}
-
-src_test() {
- emake -j1 check
-}
-
-src_install () {
- default
- # static libs are same as shared (compiled with PIC)
- # so they are not compiled twice
- use static-libs || rm -f "${ED}"/usr/$(get_libdir)/lib*.a
-}
diff --git a/sci-astronomy/wcslib/wcslib-4.14.ebuild b/sci-astronomy/wcslib/wcslib-4.14.ebuild
index 5c9a5eae2c99..0714fa0d39fc 100644
--- a/sci-astronomy/wcslib/wcslib-4.14.ebuild
+++ b/sci-astronomy/wcslib/wcslib-4.14.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.14.ebuild,v 1.1 2012/07/17 19:59:47 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.14.ebuild,v 1.2 2012/08/05 20:50:19 bicatali Exp $
EAPI=4
-inherit eutils fortran-2
+inherit eutils fortran-2 multilib
DESCRIPTION="Astronomical World Coordinate System transformations library"
HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/"
@@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2"
SLOT="0"
LICENSE="LGPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="fortran fits pgplot static-libs"
+IUSE="doc fortran fits pgplot static-libs"
RDEPEND="fortran? ( virtual/fortran )
fits? ( sci-libs/cfitsio )
@@ -51,5 +51,7 @@ src_install () {
default
# static libs are same as shared (compiled with PIC)
# so they are not compiled twice
- use static-libs || rm -f "${ED}"/usr/$(get_libdir)/lib*.a
+ use static-libs || rm "${ED}"/usr/$(get_libdir)/lib*.a
+ use doc || rm -r "${ED}"/usr/share/doc/${PF}/html \
+ "${ED}"/usr/share/doc/${PF}/*.pdf
}