Subject: pkg/16691: Request addition of math/glpk to pkgsrc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kent@tiamat.goathill.org>
List: netbsd-bugs
Date: 05/06/2002 14:46:08
>Number: 16691
>Category: pkg
>Synopsis: Request addition of math/glpk to pkgsrc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 06 12:47:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Kent Polk
>Release: NetBSD 1.5.2
>Organization:
>Environment:
System: NetBSD kingu 1.5.2 NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001 he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
GLPK (GNU Linear Programming Kit) is a set of routines written in
ANSI C and organized in the form of a library. This package is
intended for solving large-scale linear programming (LP), mixed
integer linear programming (MIP), and other related problems.
>How-To-Repeat:
Go into pkgsrc/math and note the lack of glpk
>Fix:
(please forgive my lack of experience here):
I believe the easiest way to install math/glpk is to use url2pkg:
$ url2pkg ftp://ftp.gnu.org/gnu/glpk/glpk-3.0.7
and use the following Makefile, or a better version of it:
Makefile:
# $NetBSD$
#
DISTNAME= glpk-3.0.7
CATEGORIES= math
MASTER_SITES= ftp://ftp.gnu.org/gnu/glpk/
MAINTAINER=
HOMEPAGE= http://www.gnu.org/software/glpk/glpk.html
COMMENT= library for solving linear programming problems
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
WRKSRC= ${WRKDIR}/glpk-3.0.7
GNU_CONFIGURE= YES
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: