[arch-commits] Commit in glpk/repos (4 files)
Eric Bélanger
eric at archlinux.org
Sat Nov 17 07:46:20 UTC 2012
Date: Saturday, November 17, 2012 @ 02:46:20
Author: eric
Revision: 171320
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
glpk/repos/extra-i686/PKGBUILD
(from rev 171319, glpk/trunk/PKGBUILD)
glpk/repos/extra-x86_64/PKGBUILD
(from rev 171319, glpk/trunk/PKGBUILD)
Deleted:
glpk/repos/extra-i686/PKGBUILD
glpk/repos/extra-x86_64/PKGBUILD
-----------------------+
extra-i686/PKGBUILD | 68 +++++++++++++++++++++++++-----------------------
extra-x86_64/PKGBUILD | 68 +++++++++++++++++++++++++-----------------------
2 files changed, 72 insertions(+), 64 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-11-17 07:45:55 UTC (rev 171319)
+++ extra-i686/PKGBUILD 2012-11-17 07:46:20 UTC (rev 171320)
@@ -1,32 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: bzklrm <bzklrm at gmail.com>
-# Additional contributors Senjin, Xavier, dundee
-
-pkgname=glpk
-pkgver=4.47
-pkgrel=1
-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")
-sha1sums=('35e16d3167389b6bc75eb51b4b48590db59f789c')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- ./configure --prefix=/usr
-
- if [ "$CARCH" == "x86_64" ]; then
- make CFLAGS="$CFLAGS -fPIC"
- else
- make
- fi
-}
-
-package(){
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
Copied: glpk/repos/extra-i686/PKGBUILD (from rev 171319, glpk/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-11-17 07:46:20 UTC (rev 171320)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: bzklrm <bzklrm at gmail.com>
+# Additional contributors Senjin, Xavier, dundee
+
+pkgname=glpk
+pkgver=4.47
+pkgrel=2
+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{,.sig})
+sha1sums=('35e16d3167389b6bc75eb51b4b48590db59f789c'
+ 'e29069fb4e8e34929a980a8659b3dd7ccd92a676')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr
+
+ if [ "$CARCH" == "x86_64" ]; then
+ make CFLAGS="$CFLAGS -fPIC"
+ else
+ make
+ fi
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 doc/glpk.pdf "${pkgdir}/usr/share/doc/glpk/glpk.pdf"
+ install -Dm644 doc/gmpl.pdf "${pkgdir}/usr/share/doc/glpk/gmpl.pdf"
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-11-17 07:45:55 UTC (rev 171319)
+++ extra-x86_64/PKGBUILD 2012-11-17 07:46:20 UTC (rev 171320)
@@ -1,32 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: bzklrm <bzklrm at gmail.com>
-# Additional contributors Senjin, Xavier, dundee
-
-pkgname=glpk
-pkgver=4.47
-pkgrel=1
-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")
-sha1sums=('35e16d3167389b6bc75eb51b4b48590db59f789c')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- ./configure --prefix=/usr
-
- if [ "$CARCH" == "x86_64" ]; then
- make CFLAGS="$CFLAGS -fPIC"
- else
- make
- fi
-}
-
-package(){
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
Copied: glpk/repos/extra-x86_64/PKGBUILD (from rev 171319, glpk/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-11-17 07:46:20 UTC (rev 171320)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: bzklrm <bzklrm at gmail.com>
+# Additional contributors Senjin, Xavier, dundee
+
+pkgname=glpk
+pkgver=4.47
+pkgrel=2
+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{,.sig})
+sha1sums=('35e16d3167389b6bc75eb51b4b48590db59f789c'
+ 'e29069fb4e8e34929a980a8659b3dd7ccd92a676')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr
+
+ if [ "$CARCH" == "x86_64" ]; then
+ make CFLAGS="$CFLAGS -fPIC"
+ else
+ make
+ fi
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 doc/glpk.pdf "${pkgdir}/usr/share/doc/glpk/glpk.pdf"
+ install -Dm644 doc/gmpl.pdf "${pkgdir}/usr/share/doc/glpk/gmpl.pdf"
+}
More information about the arch-commits
mailing list