[arch-commits] Commit in (glpk glpk/repos glpk/trunk glpk/trunk/PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Tue May 4 12:54:42 UTC 2010
Date: Tuesday, May 4, 2010 @ 08:54:41
Author: ronald
Revision: 79546
add glpk as octave dependency
Added:
glpk/
glpk/repos/
glpk/trunk/
glpk/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: glpk/trunk/PKGBUILD
===================================================================
--- glpk/trunk/PKGBUILD (rev 0)
+++ glpk/trunk/PKGBUILD 2010-05-04 12:54:41 UTC (rev 79546)
@@ -0,0 +1,31 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: bzklrm <bzklrm at gmail.com>
+# Additional contributors Senjin, Xavier, dundee
+
+pkgname=glpk
+pkgver=4.43
+pkgrel=3
+pkgdesc="GNU Linear Programming Kit : solve LP, MIP and other problems."
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/glpk/glpk.html"
+license=('GPL')
+depends=('glibc')
+options=('!libtool')
+source=("http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz")
+md5sums=('b984e9e6451399c8dd46e18889c80148')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+
+ ./configure --prefix=/usr
+
+ if [ "$CARCH" == "x86_64" ]; then
+ make CFLAGS="$CFLAGS -fPIC" || return 1
+ else
+ make || return 1
+ fi
+
+ make DESTDIR="${pkgdir}" install
+}
+
Property changes on: glpk/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
More information about the arch-commits
mailing list