[arch-commits] Commit in lpsolve/repos (10 files)

Andreas Radke andyrtr at archlinux.org
Thu Jun 16 15:57:55 UTC 2016


    Date: Thursday, June 16, 2016 @ 15:57:54
  Author: andyrtr
Revision: 270014

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  lpsolve/repos/extra-i686/PKGBUILD
    (from rev 270013, lpsolve/trunk/PKGBUILD)
  lpsolve/repos/extra-i686/cflags.patch
    (from rev 270013, lpsolve/trunk/cflags.patch)
  lpsolve/repos/extra-i686/lpsolve-5.5.2.0.defines.patch
    (from rev 270013, lpsolve/trunk/lpsolve-5.5.2.0.defines.patch)
  lpsolve/repos/extra-x86_64/PKGBUILD
    (from rev 270013, lpsolve/trunk/PKGBUILD)
  lpsolve/repos/extra-x86_64/cflags.patch
    (from rev 270013, lpsolve/trunk/cflags.patch)
  lpsolve/repos/extra-x86_64/lpsolve-5.5.2.0.defines.patch
    (from rev 270013, lpsolve/trunk/lpsolve-5.5.2.0.defines.patch)
Deleted:
  lpsolve/repos/extra-i686/PKGBUILD
  lpsolve/repos/extra-i686/cflags.patch
  lpsolve/repos/extra-x86_64/PKGBUILD
  lpsolve/repos/extra-x86_64/cflags.patch

--------------------------------------------+
 /PKGBUILD                                  |   94 +++++++++++++++++++++++++++
 /cflags.patch                              |   50 ++++++++++++++
 extra-i686/PKGBUILD                        |   38 ----------
 extra-i686/cflags.patch                    |   25 -------
 extra-i686/lpsolve-5.5.2.0.defines.patch   |   22 ++++++
 extra-x86_64/PKGBUILD                      |   38 ----------
 extra-x86_64/cflags.patch                  |   25 -------
 extra-x86_64/lpsolve-5.5.2.0.defines.patch |   22 ++++++
 8 files changed, 188 insertions(+), 126 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2016-06-16 15:57:33 UTC (rev 270013)
+++ extra-i686/PKGBUILD	2016-06-16 15:57:54 UTC (rev 270014)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgname=lpsolve
-_origname=lp_solve
-pkgver=5.5.2.0
-_mainver=5.5
-pkgrel=3
-pkgdesc="a Mixed Integer Linear Programming (MILP) solver"
-arch=('i686' 'x86_64')
-url="http://lpsolve.sourceforge.net/"
-license=('GPL')
-depends=('glibc')
-source=(http://downloads.sourceforge.net/project/lpsolve/lpsolve/${pkgver}/lp_solve_${pkgver}_source.tar.gz
-        cflags.patch)
-md5sums=('167c0fb4ab178e0b7ab50bf0a635a836'
-         '7403f745d06619f59f52800b655d8751')
-
-build() {
-  cd ${_origname}_${_mainver}
-  patch -Np1 -i $srcdir/cflags.patch
-
-  # taken from Fedora spec
-  cd lpsolve55
-  sh -x ccc
-  rm bin/ux*/liblpsolve55.a
-  cd ../lp_solve
-  sh -x ccc
-}
-
-package() {
-  cd ${_origname}_${_mainver}
-
-  install -dm755 ${pkgdir}/usr/{bin,lib,include/lpsolve}
-  install -m755 lp_solve/bin/ux*/lp_solve ${pkgdir}/usr/bin/
-  install -m755 lpsolve55/bin/ux*/liblpsolve55.so ${pkgdir}/usr/lib/
-  install -m644 lp*.h ${pkgdir}/usr/include/lpsolve/
-}

Copied: lpsolve/repos/extra-i686/PKGBUILD (from rev 270013, lpsolve/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2016-06-16 15:57:54 UTC (rev 270014)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=lpsolve
+_origname=lp_solve
+pkgver=5.5.2.3
+_mainver=5.5
+pkgrel=1
+pkgdesc="a Mixed Integer Linear Programming (MILP) solver"
+arch=('i686' 'x86_64')
+url="http://lpsolve.sourceforge.net/"
+license=('GPL')
+depends=('glibc')
+source=(http://downloads.sourceforge.net/project/lpsolve/lpsolve/${pkgver}/lp_solve_${pkgver}_source.tar.gz
+        cflags.patch
+        lpsolve-5.5.2.0.defines.patch)
+sha1sums=('867a606fcc77612b71a0a6baa5f07a273f3023a7'
+          '47285b11ef146ddb9aacfff982370ab7b0ea245e'
+          'c4e61302072adcd27aba5d966e33fa001f3599e2')
+
+prepare() {
+  cd ${_origname}_${_mainver}
+  # add CFLAGS
+  patch -Np1 -i $srcdir/cflags.patch
+  # by Fedora
+  patch -Np1 -i $srcdir/lpsolve-5.5.2.0.defines.patch
+}
+
+build() {
+  cd ${_origname}_${_mainver}
+
+  # taken from Fedora spec
+  cd lpsolve55
+  sh -x ccc
+#  rm bin/ux*/liblpsolve55.a
+  cd ../lp_solve
+  sh -x ccc
+}
+
+package() {
+  cd ${_origname}_${_mainver}
+
+  install -dm755 ${pkgdir}/usr/{bin,lib,include/lpsolve}
+  install -m755 lp_solve/bin/ux*/lp_solve ${pkgdir}/usr/bin/
+  install -m755 lpsolve55/bin/ux*/liblpsolve55.so ${pkgdir}/usr/lib/
+  install -m644 lp*.h ${pkgdir}/usr/include/lpsolve/
+}

Deleted: extra-i686/cflags.patch
===================================================================
--- extra-i686/cflags.patch	2016-06-16 15:57:33 UTC (rev 270013)
+++ extra-i686/cflags.patch	2016-06-16 15:57:54 UTC (rev 270014)
@@ -1,25 +0,0 @@
-diff -ru lp_solve_5.5.orig/lp_solve/ccc lp_solve_5.5/lp_solve/ccc
---- lp_solve_5.5.orig/lp_solve/ccc	2009-02-23 16:31:18.000000000 +0000
-+++ lp_solve_5.5/lp_solve/ccc	2009-02-23 16:31:29.000000000 +0000
-@@ -28,7 +28,7 @@
- fi
- rm /tmp/isnan.c /tmp/isnan >/dev/null 2>&1
- 
--opts='-O3'
-+opts=$CFLAGS
- 
- def=
- if [ "$PLATFORM" = "SCO_UNIX" ]
-diff -ru lp_solve_5.5.orig/lpsolve55/ccc lp_solve_5.5/lpsolve55/ccc
---- lp_solve_5.5.orig/lpsolve55/ccc	2009-02-23 16:31:18.000000000 +0000
-+++ lp_solve_5.5/lpsolve55/ccc	2009-02-23 16:31:29.000000000 +0000
-@@ -35,7 +35,7 @@
-      so=y
- fi
- 
--opts='-O3'
-+opts=$CFLAGS
- 
- $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def $NOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
- ar rv bin/$PLATFORM/liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
-

Copied: lpsolve/repos/extra-i686/cflags.patch (from rev 270013, lpsolve/trunk/cflags.patch)
===================================================================
--- extra-i686/cflags.patch	                        (rev 0)
+++ extra-i686/cflags.patch	2016-06-16 15:57:54 UTC (rev 270014)
@@ -0,0 +1,25 @@
+diff -ru lp_solve_5.5.orig/lp_solve/ccc lp_solve_5.5/lp_solve/ccc
+--- lp_solve_5.5.orig/lp_solve/ccc	2009-02-23 16:31:18.000000000 +0000
++++ lp_solve_5.5/lp_solve/ccc	2009-02-23 16:31:29.000000000 +0000
+@@ -28,7 +28,7 @@
+ fi
+ rm /tmp/isnan.c /tmp/isnan >/dev/null 2>&1
+ 
+-opts='-O3'
++opts=$CFLAGS
+ 
+ def=
+ if [ "$PLATFORM" = "SCO_UNIX" ]
+diff -ru lp_solve_5.5.orig/lpsolve55/ccc lp_solve_5.5/lpsolve55/ccc
+--- lp_solve_5.5.orig/lpsolve55/ccc	2009-02-23 16:31:18.000000000 +0000
++++ lp_solve_5.5/lpsolve55/ccc	2009-02-23 16:31:29.000000000 +0000
+@@ -35,7 +35,7 @@
+      so=y
+ fi
+ 
+-opts='-O3'
++opts=$CFLAGS
+ 
+ $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def $NOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
+ ar rv bin/$PLATFORM/liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
+

Copied: lpsolve/repos/extra-i686/lpsolve-5.5.2.0.defines.patch (from rev 270013, lpsolve/trunk/lpsolve-5.5.2.0.defines.patch)
===================================================================
--- extra-i686/lpsolve-5.5.2.0.defines.patch	                        (rev 0)
+++ extra-i686/lpsolve-5.5.2.0.defines.patch	2016-06-16 15:57:54 UTC (rev 270014)
@@ -0,0 +1,22 @@
+--- lp_solve_5.5/lpsolve55/ccc
++++ lp_solve_5.5/lpsolve55/ccc
+@@ -18,7 +18,7 @@
+ echo '#include <stdio.h>'>>/tmp/isnan.c
+ echo '#include <stdlib.h>'>>/tmp/isnan.c
+ echo '#include <math.h>'>>/tmp/isnan.c
+-echo 'main(){isnan(0);}'>>/tmp/isnan.c
++echo 'main(){isnan(0.0);}'>>/tmp/isnan.c
+ $c /tmp/isnan.c -o /tmp/isnan $math >/dev/null 2>&1
+ if [ $? = 0 ]
+ then NOISNAN=
+--- lp_solve_5.5/lp_solve/ccc
++++ lp_solve_5.5/lp_solve/ccc
+@@ -20,7 +20,7 @@
+ echo '#include <stdio.h>'>>/tmp/isnan.c
+ echo '#include <stdlib.h>'>>/tmp/isnan.c
+ echo '#include <math.h>'>>/tmp/isnan.c
+-echo 'main(){isnan(0);}'>>/tmp/isnan.c
++echo 'main(){isnan(0.0);}'>>/tmp/isnan.c
+ $c /tmp/isnan.c -o /tmp/isnan $math >/dev/null 2>&1
+ if [ $? = 0 ]
+ then NOISNAN=

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2016-06-16 15:57:33 UTC (rev 270013)
+++ extra-x86_64/PKGBUILD	2016-06-16 15:57:54 UTC (rev 270014)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgname=lpsolve
-_origname=lp_solve
-pkgver=5.5.2.0
-_mainver=5.5
-pkgrel=3
-pkgdesc="a Mixed Integer Linear Programming (MILP) solver"
-arch=('i686' 'x86_64')
-url="http://lpsolve.sourceforge.net/"
-license=('GPL')
-depends=('glibc')
-source=(http://downloads.sourceforge.net/project/lpsolve/lpsolve/${pkgver}/lp_solve_${pkgver}_source.tar.gz
-        cflags.patch)
-md5sums=('167c0fb4ab178e0b7ab50bf0a635a836'
-         '7403f745d06619f59f52800b655d8751')
-
-build() {
-  cd ${_origname}_${_mainver}
-  patch -Np1 -i $srcdir/cflags.patch
-
-  # taken from Fedora spec
-  cd lpsolve55
-  sh -x ccc
-  rm bin/ux*/liblpsolve55.a
-  cd ../lp_solve
-  sh -x ccc
-}
-
-package() {
-  cd ${_origname}_${_mainver}
-
-  install -dm755 ${pkgdir}/usr/{bin,lib,include/lpsolve}
-  install -m755 lp_solve/bin/ux*/lp_solve ${pkgdir}/usr/bin/
-  install -m755 lpsolve55/bin/ux*/liblpsolve55.so ${pkgdir}/usr/lib/
-  install -m644 lp*.h ${pkgdir}/usr/include/lpsolve/
-}

Copied: lpsolve/repos/extra-x86_64/PKGBUILD (from rev 270013, lpsolve/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2016-06-16 15:57:54 UTC (rev 270014)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=lpsolve
+_origname=lp_solve
+pkgver=5.5.2.3
+_mainver=5.5
+pkgrel=1
+pkgdesc="a Mixed Integer Linear Programming (MILP) solver"
+arch=('i686' 'x86_64')
+url="http://lpsolve.sourceforge.net/"
+license=('GPL')
+depends=('glibc')
+source=(http://downloads.sourceforge.net/project/lpsolve/lpsolve/${pkgver}/lp_solve_${pkgver}_source.tar.gz
+        cflags.patch
+        lpsolve-5.5.2.0.defines.patch)
+sha1sums=('867a606fcc77612b71a0a6baa5f07a273f3023a7'
+          '47285b11ef146ddb9aacfff982370ab7b0ea245e'
+          'c4e61302072adcd27aba5d966e33fa001f3599e2')
+
+prepare() {
+  cd ${_origname}_${_mainver}
+  # add CFLAGS
+  patch -Np1 -i $srcdir/cflags.patch
+  # by Fedora
+  patch -Np1 -i $srcdir/lpsolve-5.5.2.0.defines.patch
+}
+
+build() {
+  cd ${_origname}_${_mainver}
+
+  # taken from Fedora spec
+  cd lpsolve55
+  sh -x ccc
+#  rm bin/ux*/liblpsolve55.a
+  cd ../lp_solve
+  sh -x ccc
+}
+
+package() {
+  cd ${_origname}_${_mainver}
+
+  install -dm755 ${pkgdir}/usr/{bin,lib,include/lpsolve}
+  install -m755 lp_solve/bin/ux*/lp_solve ${pkgdir}/usr/bin/
+  install -m755 lpsolve55/bin/ux*/liblpsolve55.so ${pkgdir}/usr/lib/
+  install -m644 lp*.h ${pkgdir}/usr/include/lpsolve/
+}

Deleted: extra-x86_64/cflags.patch
===================================================================
--- extra-x86_64/cflags.patch	2016-06-16 15:57:33 UTC (rev 270013)
+++ extra-x86_64/cflags.patch	2016-06-16 15:57:54 UTC (rev 270014)
@@ -1,25 +0,0 @@
-diff -ru lp_solve_5.5.orig/lp_solve/ccc lp_solve_5.5/lp_solve/ccc
---- lp_solve_5.5.orig/lp_solve/ccc	2009-02-23 16:31:18.000000000 +0000
-+++ lp_solve_5.5/lp_solve/ccc	2009-02-23 16:31:29.000000000 +0000
-@@ -28,7 +28,7 @@
- fi
- rm /tmp/isnan.c /tmp/isnan >/dev/null 2>&1
- 
--opts='-O3'
-+opts=$CFLAGS
- 
- def=
- if [ "$PLATFORM" = "SCO_UNIX" ]
-diff -ru lp_solve_5.5.orig/lpsolve55/ccc lp_solve_5.5/lpsolve55/ccc
---- lp_solve_5.5.orig/lpsolve55/ccc	2009-02-23 16:31:18.000000000 +0000
-+++ lp_solve_5.5/lpsolve55/ccc	2009-02-23 16:31:29.000000000 +0000
-@@ -35,7 +35,7 @@
-      so=y
- fi
- 
--opts='-O3'
-+opts=$CFLAGS
- 
- $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def $NOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
- ar rv bin/$PLATFORM/liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
-

Copied: lpsolve/repos/extra-x86_64/cflags.patch (from rev 270013, lpsolve/trunk/cflags.patch)
===================================================================
--- extra-x86_64/cflags.patch	                        (rev 0)
+++ extra-x86_64/cflags.patch	2016-06-16 15:57:54 UTC (rev 270014)
@@ -0,0 +1,25 @@
+diff -ru lp_solve_5.5.orig/lp_solve/ccc lp_solve_5.5/lp_solve/ccc
+--- lp_solve_5.5.orig/lp_solve/ccc	2009-02-23 16:31:18.000000000 +0000
++++ lp_solve_5.5/lp_solve/ccc	2009-02-23 16:31:29.000000000 +0000
+@@ -28,7 +28,7 @@
+ fi
+ rm /tmp/isnan.c /tmp/isnan >/dev/null 2>&1
+ 
+-opts='-O3'
++opts=$CFLAGS
+ 
+ def=
+ if [ "$PLATFORM" = "SCO_UNIX" ]
+diff -ru lp_solve_5.5.orig/lpsolve55/ccc lp_solve_5.5/lpsolve55/ccc
+--- lp_solve_5.5.orig/lpsolve55/ccc	2009-02-23 16:31:18.000000000 +0000
++++ lp_solve_5.5/lpsolve55/ccc	2009-02-23 16:31:29.000000000 +0000
+@@ -35,7 +35,7 @@
+      so=y
+ fi
+ 
+-opts='-O3'
++opts=$CFLAGS
+ 
+ $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def $NOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
+ ar rv bin/$PLATFORM/liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
+

Copied: lpsolve/repos/extra-x86_64/lpsolve-5.5.2.0.defines.patch (from rev 270013, lpsolve/trunk/lpsolve-5.5.2.0.defines.patch)
===================================================================
--- extra-x86_64/lpsolve-5.5.2.0.defines.patch	                        (rev 0)
+++ extra-x86_64/lpsolve-5.5.2.0.defines.patch	2016-06-16 15:57:54 UTC (rev 270014)
@@ -0,0 +1,22 @@
+--- lp_solve_5.5/lpsolve55/ccc
++++ lp_solve_5.5/lpsolve55/ccc
+@@ -18,7 +18,7 @@
+ echo '#include <stdio.h>'>>/tmp/isnan.c
+ echo '#include <stdlib.h>'>>/tmp/isnan.c
+ echo '#include <math.h>'>>/tmp/isnan.c
+-echo 'main(){isnan(0);}'>>/tmp/isnan.c
++echo 'main(){isnan(0.0);}'>>/tmp/isnan.c
+ $c /tmp/isnan.c -o /tmp/isnan $math >/dev/null 2>&1
+ if [ $? = 0 ]
+ then NOISNAN=
+--- lp_solve_5.5/lp_solve/ccc
++++ lp_solve_5.5/lp_solve/ccc
+@@ -20,7 +20,7 @@
+ echo '#include <stdio.h>'>>/tmp/isnan.c
+ echo '#include <stdlib.h>'>>/tmp/isnan.c
+ echo '#include <math.h>'>>/tmp/isnan.c
+-echo 'main(){isnan(0);}'>>/tmp/isnan.c
++echo 'main(){isnan(0.0);}'>>/tmp/isnan.c
+ $c /tmp/isnan.c -o /tmp/isnan $math >/dev/null 2>&1
+ if [ $? = 0 ]
+ then NOISNAN=



More information about the arch-commits mailing list