diff options
author | 2006-02-11 08:54:56 +0000 | |
---|---|---|
committer | 2006-02-11 08:54:56 +0000 | |
commit | 06626baa80cc2e3a19f5c2b835101be733b198d4 (patch) | |
tree | 7096de647ebcdca501921022af5c41aad9c3563d /sci-mathematics/glpk/glpk-4.8.ebuild | |
parent | Stable on ppc64: bug #122307 (diff) | |
download | gentoo-2-06626baa80cc2e3a19f5c2b835101be733b198d4.tar.gz gentoo-2-06626baa80cc2e3a19f5c2b835101be733b198d4.tar.bz2 gentoo-2-06626baa80cc2e3a19f5c2b835101be733b198d4.zip |
Bug #121414, version bump. Also clean up 4.8 ebuild slightly.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sci-mathematics/glpk/glpk-4.8.ebuild')
-rw-r--r-- | sci-mathematics/glpk/glpk-4.8.ebuild | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/sci-mathematics/glpk/glpk-4.8.ebuild b/sci-mathematics/glpk/glpk-4.8.ebuild index 5d3653175cbe..8fdccaeb0868 100644 --- a/sci-mathematics/glpk/glpk-4.8.ebuild +++ b/sci-mathematics/glpk/glpk-4.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.8.ebuild,v 1.1 2005/09/21 00:58:28 ribosome Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.8.ebuild,v 1.2 2006/02/11 08:54:56 robbat2 Exp $ DESCRIPTION="GNU Linear Programming Kit" LICENSE="GPL-2" @@ -8,13 +8,12 @@ HOMEPAGE="http://www.gnu.org/software/glpk/" SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" SLOT="0" -IUSE="" +IUSE="doc" KEYWORDS="~x86 ~amd64 ~ppc" DEPEND=">=sys-devel/gcc-3.2 - virtual/libc - doc? ( virtual/ghostscript )" - + virtual/libc + doc? ( virtual/ghostscript )" RDEPEND="virtual/libc" src_compile() { @@ -25,17 +24,22 @@ src_compile() { src_install() { make DESTDIR="${D}" install || die "make install failed" - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README || \ + # INSTALL include some usage docs + dodoc AUTHORS ChangeLog INSTALL NEWS README || \ die "failed to install docs" + # 250Kb insinto /usr/share/doc/${PF}/examples doins examples/*.mod && doins examples/*.tsp || \ die "failed to install examples" - cd "${S}"/doc - for i in *.ps; do - ps2pdf14 "${i}" || die "failed to convert ps to pdf" - done - insinto /usr/share/doc/${PF}/manual - doins * || die "failed to install manual files" + # manual/ is 2.5Mb in size + if use doc; then + cd "${S}"/doc + for i in *.ps; do + ps2pdf14 "${i}" || die "failed to convert ps to pdf" + done + insinto /usr/share/doc/${PF}/manual + doins * || die "failed to install manual files" + fi } |