diff options
Diffstat (limited to 'sci-mathematics/glpk/glpk-4.10.ebuild')
-rw-r--r-- | sci-mathematics/glpk/glpk-4.10.ebuild | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sci-mathematics/glpk/glpk-4.10.ebuild b/sci-mathematics/glpk/glpk-4.10.ebuild deleted file mode 100644 index 50f1c8373a2a..000000000000 --- a/sci-mathematics/glpk/glpk-4.10.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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.10.ebuild,v 1.1 2006/07/22 04:43:23 robbat2 Exp $ - -DESCRIPTION="GNU Linear Programming Kit" -LICENSE="GPL-2" -HOMEPAGE="http://www.gnu.org/software/glpk/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -SLOT="0" -IUSE="doc" -KEYWORDS="~x86 ~amd64 ~ppc" - -DEPEND=">=sys-devel/gcc-3.2 - virtual/libc - doc? ( virtual/ghostscript )" -RDEPEND="virtual/libc" - -src_compile() { - LIBS="${LIBS} -lm" econf --enable-shared || die - emake || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - - # 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" - - # 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 -} |