summaryrefslogtreecommitdiffstats
path: root/base/lpsolve
diff options
context:
space:
mode:
Diffstat (limited to 'base/lpsolve')
-rw-r--r--base/lpsolve/.footprint.i68631
-rw-r--r--base/lpsolve/.footprint.x86_6431
-rw-r--r--base/lpsolve/.md5sum.i6862
-rw-r--r--base/lpsolve/.md5sum.x86_642
-rw-r--r--base/lpsolve/Pkgfile34
5 files changed, 100 insertions, 0 deletions
diff --git a/base/lpsolve/.footprint.i686 b/base/lpsolve/.footprint.i686
new file mode 100644
index 000000000..596cad04c
--- /dev/null
+++ b/base/lpsolve/.footprint.i686
@@ -0,0 +1,31 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/lp_solve
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/lpsolve/
+-rw-r--r-- root/root usr/include/lpsolve/lp_Hash.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_MDO.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_MPS.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_SOS.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_bit.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_crash.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_explicit.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_fortify.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_lib.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_matrix.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_mipbb.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_presolve.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_price.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_pricePSE.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_report.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_rlp.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_scale.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_simplex.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_solveDLL.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_types.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_utils.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_wlp.h
+-rw-r--r-- root/root usr/include/lpsolve/lpkit.h
+-rw-r--r-- root/root usr/include/lpsolve/lpsolve.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/liblpsolve55.so
diff --git a/base/lpsolve/.footprint.x86_64 b/base/lpsolve/.footprint.x86_64
new file mode 100644
index 000000000..596cad04c
--- /dev/null
+++ b/base/lpsolve/.footprint.x86_64
@@ -0,0 +1,31 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/lp_solve
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/lpsolve/
+-rw-r--r-- root/root usr/include/lpsolve/lp_Hash.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_MDO.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_MPS.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_SOS.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_bit.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_crash.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_explicit.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_fortify.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_lib.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_matrix.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_mipbb.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_presolve.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_price.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_pricePSE.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_report.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_rlp.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_scale.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_simplex.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_solveDLL.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_types.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_utils.h
+-rw-r--r-- root/root usr/include/lpsolve/lp_wlp.h
+-rw-r--r-- root/root usr/include/lpsolve/lpkit.h
+-rw-r--r-- root/root usr/include/lpsolve/lpsolve.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/liblpsolve55.so
diff --git a/base/lpsolve/.md5sum.i686 b/base/lpsolve/.md5sum.i686
new file mode 100644
index 000000000..53feead0e
--- /dev/null
+++ b/base/lpsolve/.md5sum.i686
@@ -0,0 +1,2 @@
+7403f745d06619f59f52800b655d8751 cflags.patch
+2408c94893394f832469661c16b9f0d0 lp_solve_5.5.0.15_source.tar.gz
diff --git a/base/lpsolve/.md5sum.x86_64 b/base/lpsolve/.md5sum.x86_64
new file mode 100644
index 000000000..4350ceeb8
--- /dev/null
+++ b/base/lpsolve/.md5sum.x86_64
@@ -0,0 +1,2 @@
+7403f745d06619f59f52800b655d8751 cflags.patch
+167c0fb4ab178e0b7ab50bf0a635a836 lp_solve_5.5.2.0_source.tar.gz
diff --git a/base/lpsolve/Pkgfile b/base/lpsolve/Pkgfile
new file mode 100644
index 000000000..68096b76e
--- /dev/null
+++ b/base/lpsolve/Pkgfile
@@ -0,0 +1,34 @@
+# Description: a Mixed Integer Linear Programming (MILP) solver
+# URL: http://lpsolve.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+
+name=lpsolve
+_origname=lp_solve
+version=5.5.2.0
+release=1
+_mainver=5.5
+
+source=(http://sourceforge.net/projects/lpsolve/files/lpsolve/5.5.2.0/lp_solve_5.5.2.0_source.tar.gz \
+ http://nutyx.meticul.eu/files/patchs/$name/cflags.patch)
+
+build() {
+ cd ${_origname}_${_mainver}
+ patch -Np1 -i ../cflags.patch
+
+ # taken from Fedora spec
+ cd lpsolve55
+ sh -x ccc
+ rm bin/ux*/liblpsolve55.a
+ cd ../lp_solve
+ sh -x ccc
+ cd ..
+
+ # install
+ install -d $PKG/usr/{bin,lib,include/lpsolve}
+ install -m 755 lp_solve/bin/ux*/lp_solve $PKG/usr/bin/
+ install -m 755 lpsolve55/bin/ux*/liblpsolve55.so $PKG/usr/lib/
+ install -m 644 lp*.h $PKG/usr/include/lpsolve/
+}
+
+