diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2005-09-21 00:58:28 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2005-09-21 00:58:28 +0000 |
commit | 2f71a5c24fe87ddcbf262a6eb91c599beb842507 (patch) | |
tree | 39095735840e3031a0935ce1d0a0eb1f5e35ed28 /sci-mathematics/glpk | |
parent | Initial commit of new split ebuild for nwn (1.66-r1). It is currently masked... (diff) | |
download | gentoo-2-2f71a5c24fe87ddcbf262a6eb91c599beb842507.tar.gz gentoo-2-2f71a5c24fe87ddcbf262a6eb91c599beb842507.tar.bz2 gentoo-2-2f71a5c24fe87ddcbf262a6eb91c599beb842507.zip |
New version. Documents and examples are now installed into proper locations (fixes bug #106520).
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sci-mathematics/glpk')
-rw-r--r-- | sci-mathematics/glpk/ChangeLog | 9 | ||||
-rw-r--r-- | sci-mathematics/glpk/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/glpk/files/digest-glpk-4.8 | 1 | ||||
-rw-r--r-- | sci-mathematics/glpk/glpk-4.8.ebuild | 41 |
4 files changed, 53 insertions, 2 deletions
diff --git a/sci-mathematics/glpk/ChangeLog b/sci-mathematics/glpk/ChangeLog index 8019b7a47873..c947d6d6ce1f 100644 --- a/sci-mathematics/glpk/ChangeLog +++ b/sci-mathematics/glpk/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-mathematics/glpk # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.5 2005/05/06 16:32:55 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.6 2005/09/21 00:58:28 ribosome Exp $ + +*glpk-4.8 (21 Sep 2005) + + 21 Sep 2005; Olivier Fisette <ribosome@gentoo.org> +glpk-4.8.ebuild: + New version. Documents and examples are now installed into proper locations + (fixes bug #106520). Thanks to Markus Dittrich <markusle@gmail.com> for his + work. 06 May 2005; David Holm <dholm@gentoo.org> glpk-4.7.ebuild: Added to ~ppc. diff --git a/sci-mathematics/glpk/Manifest b/sci-mathematics/glpk/Manifest index 10252df88848..2562f20f9706 100644 --- a/sci-mathematics/glpk/Manifest +++ b/sci-mathematics/glpk/Manifest @@ -1,4 +1,6 @@ -MD5 e202a8e37e62cbbe6985c5f9477eb75e ChangeLog 1530 +MD5 3e00e3739f43d550eeb31a4aeb91f865 glpk-4.8.ebuild 1079 MD5 7d861a12f224b0cd985efbabf8265588 glpk-4.7.ebuild 903 +MD5 e202a8e37e62cbbe6985c5f9477eb75e ChangeLog 1530 MD5 f9b985eff5cf629c334273be8fbdee5c metadata.xml 219 MD5 8b0aabaae9e61d7aa12c4bb982b2a996 files/digest-glpk-4.7 60 +MD5 24b218cfde877d055613cae7fe421cd9 files/digest-glpk-4.8 60 diff --git a/sci-mathematics/glpk/files/digest-glpk-4.8 b/sci-mathematics/glpk/files/digest-glpk-4.8 new file mode 100644 index 000000000000..93267f6f1a47 --- /dev/null +++ b/sci-mathematics/glpk/files/digest-glpk-4.8 @@ -0,0 +1 @@ +MD5 ec4df7a56a4ed98369c9f0bc7c82322b glpk-4.8.tar.gz 972875 diff --git a/sci-mathematics/glpk/glpk-4.8.ebuild b/sci-mathematics/glpk/glpk-4.8.ebuild new file mode 100644 index 000000000000..5d3653175cbe --- /dev/null +++ b/sci-mathematics/glpk/glpk-4.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 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 $ + +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="" +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" + + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README || \ + die "failed to install docs" + + 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" +} |