import glpk 4.19
The GLPK (GNU Linear Programming Kit) package is intended for solving large-scale linear programming (LP), mixed integer programming (MIP), and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library. ok steven@
This commit is contained in:
parent
2b6e52403a
commit
ba14d4ae76
38
devel/glpk/Makefile
Normal file
38
devel/glpk/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/11/29 13:53:03 okan Exp $
|
||||
|
||||
COMMENT= GNU Linear Programming Kit
|
||||
|
||||
DISTNAME= glpk-4.19
|
||||
SHARED_LIBS= glpk 4.0 # 4.0
|
||||
|
||||
CATEGORIES= devel
|
||||
HOMEPAGE= http://www.gnu.org/software/glpk/index.html
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=glpk/}
|
||||
|
||||
MAINTAINER= Okan Demirmen <okan@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= c m
|
||||
|
||||
LIB_DEPENDS= gmp.>=7::devel/gmp
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
|
||||
|
||||
DOCS= glpk.ps glpk_faq.txt gmpl.ps opb.txt
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/glpk
|
||||
. for i in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/glpk
|
||||
. endfor
|
||||
|
||||
.include <bsd.port.mk>
|
5
devel/glpk/distinfo
Normal file
5
devel/glpk/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (glpk-4.19.tar.gz) = 5LWlfvIqV9OPTD15hUBB5Q==
|
||||
RMD160 (glpk-4.19.tar.gz) = CXztj1MwdC4GwQ52o4j8OP2Crtw=
|
||||
SHA1 (glpk-4.19.tar.gz) = GlBtKGnF2uYWV3183VLvWq/Qkgg=
|
||||
SHA256 (glpk-4.19.tar.gz) = 7FSzLXux1pqpOWDQqWpX4J/qaozLpjs1gwZFgbJfQh4=
|
||||
SIZE (glpk-4.19.tar.gz) = 1420475
|
4
devel/glpk/pkg/DESCR
Normal file
4
devel/glpk/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
The GLPK (GNU Linear Programming Kit) package is intended for solving
|
||||
large-scale linear programming (LP), mixed integer programming (MIP),
|
||||
and other related problems. It is a set of routines written in ANSI C
|
||||
and organized in the form of a callable library.
|
2
devel/glpk/pkg/PFRAG.shared
Normal file
2
devel/glpk/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/11/29 13:53:03 okan Exp $
|
||||
@lib lib/libglpk.so.${LIBglpk_VERSION}
|
12
devel/glpk/pkg/PLIST
Normal file
12
devel/glpk/pkg/PLIST
Normal file
@ -0,0 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/11/29 13:53:03 okan Exp $
|
||||
%%SHARED%%
|
||||
bin/glpsol
|
||||
bin/tspsol
|
||||
include/glpk.h
|
||||
lib/libglpk.a
|
||||
lib/libglpk.la
|
||||
share/doc/glpk/
|
||||
share/doc/glpk/glpk.ps
|
||||
share/doc/glpk/glpk_faq.txt
|
||||
share/doc/glpk/gmpl.ps
|
||||
share/doc/glpk/opb.txt
|
Loading…
Reference in New Issue
Block a user