packages (ALLEGRO_WIP-5_0): allegro/allegro.spec - more unified cmake section

lisu lisu at pld-linux.org
Thu Jul 22 14:27:32 CEST 2010


Author: lisu                         Date: Thu Jul 22 12:27:32 2010 GMT
Module: packages                      Tag: ALLEGRO_WIP-5_0
---- Log message:
- more unified cmake section

---- Files affected:
packages/allegro:
   allegro.spec (1.71.2.20 -> 1.71.2.21) 

---- Diffs:

================================================================
Index: packages/allegro/allegro.spec
diff -u packages/allegro/allegro.spec:1.71.2.20 packages/allegro/allegro.spec:1.71.2.21
--- packages/allegro/allegro.spec:1.71.2.20	Thu Jul 22 12:45:17 2010
+++ packages/allegro/allegro.spec	Thu Jul 22 14:27:26 2010
@@ -457,9 +457,13 @@
 install -d build
 cd build
 %cmake .. \
-	-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-	%{?with_static:-DSHARED="off"} \
-	%{!?with_alsa:-DWANT_ALSA="off"}
+	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	-DMANDIR=%{_mandir} \
+	-DINFODIR=%{_infodir} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64
+%endif
 
 %{__make}
 
@@ -717,6 +721,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71.2.21  2010/07/22 12:27:26  lisu
+- more unified cmake section
+
 Revision 1.71.2.20  2010/07/22 10:45:17  lisu
 - up to 4.9.20
 - change Build directory to build (it's more unified)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/allegro/allegro.spec?r1=1.71.2.20&r2=1.71.2.21&f=u



More information about the pld-cvs-commit mailing list