diff options
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/glpk/ChangeLog | 9 | ||||
-rw-r--r-- | sci-mathematics/glpk/files/digest-glpk-4.15 | 3 | ||||
-rw-r--r-- | sci-mathematics/glpk/glpk-4.15.ebuild | 41 |
3 files changed, 51 insertions, 2 deletions
diff --git a/sci-mathematics/glpk/ChangeLog b/sci-mathematics/glpk/ChangeLog index 5eac40faf378..9d0616133932 100644 --- a/sci-mathematics/glpk/ChangeLog +++ b/sci-mathematics/glpk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-mathematics/glpk -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.11 2006/07/22 04:43:23 robbat2 Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.12 2007/04/23 15:07:11 bicatali Exp $ + +*glpk-4.15 (23 Apr 2007) + + 23 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org> +glpk-4.15.ebuild: + Version bump. Slight ebuild update for doc installs. *glpk-4.10 (22 Jul 2006) diff --git a/sci-mathematics/glpk/files/digest-glpk-4.15 b/sci-mathematics/glpk/files/digest-glpk-4.15 new file mode 100644 index 000000000000..b67185fddc18 --- /dev/null +++ b/sci-mathematics/glpk/files/digest-glpk-4.15 @@ -0,0 +1,3 @@ +MD5 398130547c0f0045186ddc34cdc7b9c7 glpk-4.15.tar.gz 1291700 +RMD160 334244fd36fc5391170910a0527a7500179b2b55 glpk-4.15.tar.gz 1291700 +SHA256 3b628fc1ef898d1560bebde71256e0a40f904f44211cd0d51ee1e3a59f48dbc3 glpk-4.15.tar.gz 1291700 diff --git a/sci-mathematics/glpk/glpk-4.15.ebuild b/sci-mathematics/glpk/glpk-4.15.ebuild new file mode 100644 index 000000000000..5489864e65e6 --- /dev/null +++ b/sci-mathematics/glpk/glpk-4.15.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.15.ebuild,v 1.1 2007/04/23 15:07:11 bicatali 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_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + # INSTALL include some usage docs + dodoc AUTHORS ChangeLog INSTALL NEWS README || \ + die "failed to install docs" + + # 385Kb + insinto /usr/share/doc/${PF}/examples + doins examples/*.{c,mod,tsp} || \ + die "failed to install examples" + + # manual/ is 2.5Mb in size + if use doc; then + cd "${S}"/doc + dvipdf refman.dvi + dvipdf lang.dvi + insinto /usr/share/doc/${PF}/manual + doins *.pdf || die "failed to install manual files" + docinto manual + dodoc *.txt || die "failed to install manual txt" + fi +} |