summaryrefslogtreecommitdiffstats
path: root/lpsolve
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /lpsolve
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'lpsolve')
-rw-r--r--lpsolve/.footprint.i68631
-rw-r--r--lpsolve/.footprint.x86_6431
-rw-r--r--lpsolve/.md5sum.i6862
-rw-r--r--lpsolve/.md5sum.x86_642
-rw-r--r--lpsolve/Pkgfile34
5 files changed, 100 insertions, 0 deletions
diff --git a/lpsolve/.footprint.i686 b/lpsolve/.footprint.i686
new file mode 100644
index 000000000..596cad04c
--- /dev/null
+++ b/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/lpsolve/.footprint.x86_64 b/lpsolve/.footprint.x86_64
new file mode 100644
index 000000000..596cad04c
--- /dev/null
+++ b/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/lpsolve/.md5sum.i686 b/lpsolve/.md5sum.i686
new file mode 100644
index 000000000..4350ceeb8
--- /dev/null
+++ b/lpsolve/.md5sum.i686
@@ -0,0 +1,2 @@
+7403f745d06619f59f52800b655d8751 cflags.patch
+167c0fb4ab178e0b7ab50bf0a635a836 lp_solve_5.5.2.0_source.tar.gz
diff --git a/lpsolve/.md5sum.x86_64 b/lpsolve/.md5sum.x86_64
new file mode 100644
index 000000000..4350ceeb8
--- /dev/null
+++ b/lpsolve/.md5sum.x86_64
@@ -0,0 +1,2 @@
+7403f745d06619f59f52800b655d8751 cflags.patch
+167c0fb4ab178e0b7ab50bf0a635a836 lp_solve_5.5.2.0_source.tar.gz
diff --git a/lpsolve/Pkgfile b/lpsolve/Pkgfile
new file mode 100644
index 000000000..68096b76e
--- /dev/null
+++ b/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/
+}
+
+