[packages/lemon] - CPLEX is proprietary software

qboosh qboosh at pld-linux.org
Tue Dec 31 08:49:09 CET 2013


commit 96826377821b46792363ae1f38fb826ec1d99104
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Dec 31 08:49:32 2013 +0100

    - CPLEX is proprietary software

 lemon.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/lemon.spec b/lemon.spec
index 95522c3..ffc8858 100644
--- a/lemon.spec
+++ b/lemon.spec
@@ -1,7 +1,8 @@
-# TODO: coin, cplex, soplex support
+# TODO: coin, soplex support
 #
 # Conditional build:
 %bcond_without	static_libs	# don't build static libraries
+%bcond_with	cplex		# CPLEX support [IBM proprietary]
 %bcond_without	glpk		# GLPK support
 #
 Summary:	Library of Efficient Models and Optimization in Networks
@@ -91,6 +92,7 @@ Dokumentacja API biblioteki LEMON.
 %configure \
 	--enable-shared \
 	%{!?with_static_libs:--disable-static} \
+	%{!?with_cplex:--without-cplex} \
 	%{!?with_glpk:--without-glpk}
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lemon.git/commitdiff/96826377821b46792363ae1f38fb826ec1d99104



More information about the pld-cvs-commit mailing list