summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-28 05:39:58 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-28 05:39:58 +0000
commit05505cbba3086a2bfcd0f0cdf48607014938082b (patch)
treed3deb3e38efd818c5e77c647b44b6a0eb87e7d54 /sci-mathematics/glpk
parentMoving to sci-mathematics/glpk (diff)
downloadgentoo-2-05505cbba3086a2bfcd0f0cdf48607014938082b.tar.gz
gentoo-2-05505cbba3086a2bfcd0f0cdf48607014938082b.tar.bz2
gentoo-2-05505cbba3086a2bfcd0f0cdf48607014938082b.zip
Moved from app-sci/glpk to sci-mathematics/glpk.
Diffstat (limited to 'sci-mathematics/glpk')
-rw-r--r--sci-mathematics/glpk/ChangeLog33
-rw-r--r--sci-mathematics/glpk/Manifest16
-rw-r--r--sci-mathematics/glpk/files/digest-glpk-4.21
-rw-r--r--sci-mathematics/glpk/files/digest-glpk-4.71
-rw-r--r--sci-mathematics/glpk/glpk-4.2.ebuild63
-rw-r--r--sci-mathematics/glpk/glpk-4.7.ebuild39
-rw-r--r--sci-mathematics/glpk/metadata.xml8
7 files changed, 161 insertions, 0 deletions
diff --git a/sci-mathematics/glpk/ChangeLog b/sci-mathematics/glpk/ChangeLog
new file mode 100644
index 000000000000..243a25ded956
--- /dev/null
+++ b/sci-mathematics/glpk/ChangeLog
@@ -0,0 +1,33 @@
+# ChangeLog for app-sci/glpk
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.1 2004/12/28 05:39:58 ribosome Exp $
+
+*glpk-4.7 (28 Dec 2004)
+
+ 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +glpk-4.2.ebuild, +glpk-4.7.ebuild:
+ Moved from app-sci/glpk to sci-mathematics/glpk.
+
+ 23 Nov 2004; Karol Wojtaszek <sekretarz@gentoo.org> glpk-4.7.ebuild:
+ Stable on amd64, bug #71862
+
+*glpk-4.7 (21 Nov 2004)
+
+ 21 Nov 2004; Robin H. Johnson <robbat2@gentoo.org> +glpk-4.7.ebuild:
+ New version, Java support removed by upstream due to license issues.
+
+ 17 Oct 2004; Thomas Matthijs <axxo@gentoo.org> glpk-4.2.ebuild:
+ dojar --> java-pkg_dojar
+
+ 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> glpk-4.2.ebuild:
+ Added IUSE, fixed bugs #44467 and #46955.
+
+ 09 Dec 2003; Heinrich Wendel <lanius@gentoo.org> glpk-4.2.ebuild:
+ changed app-text/ghostscript to virtual/ghostscript
+
+*glpk-4.2 (20 Nov 2003)
+
+ 20 Nov 2003; Robin H. Johnson <robbat2@gentoo.org> glpk-4.2.ebuild,
+ metadata.xml:
+ Initial commit. ebuild written by robbat2@gentoo.org
+
diff --git a/sci-mathematics/glpk/Manifest b/sci-mathematics/glpk/Manifest
new file mode 100644
index 000000000000..dc8235d8c29b
--- /dev/null
+++ b/sci-mathematics/glpk/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 0d2287c4f916c2cedcd500b1fa6d1344 glpk-4.7.ebuild 896
+MD5 e0c7435f781d0ab5995459c90e3d274a glpk-4.2.ebuild 1510
+MD5 ea2ea1a0ff7707907351d6556a65b46e ChangeLog 969
+MD5 f9b985eff5cf629c334273be8fbdee5c metadata.xml 219
+MD5 19c5df347fc8cf8bcfec4351c072bdcf files/digest-glpk-4.2 61
+MD5 8b0aabaae9e61d7aa12c4bb982b2a996 files/digest-glpk-4.7 60
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBo0bsZ/iYVBmujdURAqsRAJ9K9pAiwKdprgVFgFGyRn3tADYLZgCg8T0X
+HEcTSzelcKWH2oEfmkxXADk=
+=nofV
+-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/glpk/files/digest-glpk-4.2 b/sci-mathematics/glpk/files/digest-glpk-4.2
new file mode 100644
index 000000000000..f8d00f03dc80
--- /dev/null
+++ b/sci-mathematics/glpk/files/digest-glpk-4.2
@@ -0,0 +1 @@
+MD5 91687659163237aa9c051c715b4f5c66 glpk-4.2.tar.gz 1005483
diff --git a/sci-mathematics/glpk/files/digest-glpk-4.7 b/sci-mathematics/glpk/files/digest-glpk-4.7
new file mode 100644
index 000000000000..08c3859dc181
--- /dev/null
+++ b/sci-mathematics/glpk/files/digest-glpk-4.7
@@ -0,0 +1 @@
+MD5 78a186d7e4b1d2c734ee5a01700ea9b0 glpk-4.7.tar.gz 987262
diff --git a/sci-mathematics/glpk/glpk-4.2.ebuild b/sci-mathematics/glpk/glpk-4.2.ebuild
new file mode 100644
index 000000000000..918cec9bf0ac
--- /dev/null
+++ b/sci-mathematics/glpk/glpk-4.2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.2.ebuild,v 1.1 2004/12/28 05:39:58 ribosome Exp $
+
+inherit java-pkg
+
+DESCRIPTION="GNU Linear Programming Kit"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/glpk/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE="java doc"
+
+RDEPEND="java? ( >=virtual/jdk-1.4* )
+ sys-libs/glibc"
+DEPEND=">=sys-devel/gcc-3.2* ${RDEPEND}
+ doc? ( virtual/ghostscript )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -e "s:/usr/local/lib:${S}/src:g" -i contrib/jni/c/Makefile \
+ || die "sed failed correcting library path"
+}
+
+src_compile() {
+ LIBS="${LIBS} -lm" econf --enable-shared || die
+ emake || die "emake failed"
+ if use java; then
+ cd ${S}/contrib/jni
+ local extrainclude="-I ${S}/contrib/jni/java -I ${S}/include"
+ emake CFLAGS="${CFLAGS} ${extrainclude}" || die "emake java failed"
+ fi
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ # base docs
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
+ #examples
+ docinto examples
+
+ dodoc ${S}/examples/*
+ #docs
+ if use doc; then
+ cd ${S}/doc
+ for i in *.ps; do
+ ps2pdf14 ${i}
+ done
+ fi
+ dodoc ${S}/doc/*
+ #java
+ if use java; then
+ cd ${S}/contrib/jni
+ dolib c/libglpk_jni.so
+ java-pkg_dojar java/glpk.jar
+ docinto java
+ mv contrib/java/sample/README contrib/java/sample/README.sample
+ dodoc contrib/java/README contrib/java/sample/*
+ fi
+}
diff --git a/sci-mathematics/glpk/glpk-4.7.ebuild b/sci-mathematics/glpk/glpk-4.7.ebuild
new file mode 100644
index 000000000000..393ee2010561
--- /dev/null
+++ b/sci-mathematics/glpk/glpk-4.7.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.7.ebuild,v 1.1 2004/12/28 05:39:58 ribosome Exp $
+
+DESCRIPTION="GNU Linear Programming Kit"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/glpk/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc"
+
+RDEPEND="sys-libs/glibc"
+DEPEND=">=sys-devel/gcc-3.2* ${RDEPEND}
+ doc? ( virtual/ghostscript )"
+
+src_compile() {
+ LIBS="${LIBS} -lm" econf --enable-shared || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ # base docs
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
+ #examples
+ docinto examples
+
+ dodoc ${S}/examples/*
+ #docs
+ if use doc; then
+ cd ${S}/doc
+ for i in *.ps; do
+ ps2pdf14 ${i}
+ done
+ fi
+ dodoc ${S}/doc/*
+}
diff --git a/sci-mathematics/glpk/metadata.xml b/sci-mathematics/glpk/metadata.xml
new file mode 100644
index 000000000000..2ba90ab6f5c5
--- /dev/null
+++ b/sci-mathematics/glpk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>