summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-11-20 20:26:10 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-11-20 20:26:10 +0000
commit4f5bdcede7a48d896d737438e1bb8122deca0b62 (patch)
tree6a5e75b37365a9a7fe2d2c913dee76ab1c7f29f9 /app-sci
parentInitial commit. ebuild written by robbat2@gentoo.org (diff)
downloadgentoo-2-4f5bdcede7a48d896d737438e1bb8122deca0b62.tar.gz
gentoo-2-4f5bdcede7a48d896d737438e1bb8122deca0b62.tar.bz2
gentoo-2-4f5bdcede7a48d896d737438e1bb8122deca0b62.zip
Initial commit. ebuild written by robbat2@gentoo.org
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/glpk/ChangeLog10
-rw-r--r--app-sci/glpk/Manifest6
-rw-r--r--app-sci/glpk/files/digest-glpk-4.21
-rw-r--r--app-sci/glpk/glpk-4.2.ebuild52
-rw-r--r--app-sci/glpk/metadata.xml8
5 files changed, 74 insertions, 3 deletions
diff --git a/app-sci/glpk/ChangeLog b/app-sci/glpk/ChangeLog
new file mode 100644
index 000000000000..05ee1e3fbe7f
--- /dev/null
+++ b/app-sci/glpk/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-sci/glpk
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/glpk/ChangeLog,v 1.1 2003/11/20 20:26:08 robbat2 Exp $
+
+*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/app-sci/glpk/Manifest b/app-sci/glpk/Manifest
index 393e02573c46..8036607b3b81 100644
--- a/app-sci/glpk/Manifest
+++ b/app-sci/glpk/Manifest
@@ -1,4 +1,4 @@
-MD5 686ac2c228bce2ade6e5f583f513ccd4 ChangeLog 529
-MD5 07891e68a6beeec3651a37ca6723947b glpk-4.2.ebuild 573
-MD5 d45c59eb399ee588a6fcb6f72f807d18 files/digest-stow-1.3.3 62
+MD5 03b4d498444efde4b7a8d2a7635f14e2 ChangeLog 373
+MD5 1ba17618d6e24df8a61e591350e0e001 glpk-4.2.ebuild 1261
+MD5 f9b985eff5cf629c334273be8fbdee5c metadata.xml 219
MD5 19c5df347fc8cf8bcfec4351c072bdcf files/digest-glpk-4.2 61
diff --git a/app-sci/glpk/files/digest-glpk-4.2 b/app-sci/glpk/files/digest-glpk-4.2
new file mode 100644
index 000000000000..f8d00f03dc80
--- /dev/null
+++ b/app-sci/glpk/files/digest-glpk-4.2
@@ -0,0 +1 @@
+MD5 91687659163237aa9c051c715b4f5c66 glpk-4.2.tar.gz 1005483
diff --git a/app-sci/glpk/glpk-4.2.ebuild b/app-sci/glpk/glpk-4.2.ebuild
new file mode 100644
index 000000000000..8c1025e2b715
--- /dev/null
+++ b/app-sci/glpk/glpk-4.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/glpk/glpk-4.2.ebuild,v 1.1 2003/11/20 20:26:08 robbat2 Exp $
+
+DESCRIPTION="GNU Linear Programming Kit"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/${PN}/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+RDEPEND="java? ( >=virtual/jdk-1.4* )
+ sys-libs/glibc"
+DEPEND=">=sys-devel/gcc-3.2* ${RDEPEND}
+ doc? ( app-text/ghostscript )"
+
+src_compile() {
+ LIBS="${LIBS} -lm" econf --enable-shared || die
+ emake || die "emake failed"
+ if use java; then
+ cd ${S}/contrib/jni
+ emake || 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
+ rm ${S}/examples/{Make*,glpsol*}
+ 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
+ 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/app-sci/glpk/metadata.xml b/app-sci/glpk/metadata.xml
new file mode 100644
index 000000000000..2ba90ab6f5c5
--- /dev/null
+++ b/app-sci/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>