]> git.pld-linux.org Git - packages/allegro.git/commitdiff
- more unified cmake section deadbranch-1.71.2
authorlisu <lisu@pld-linux.org>
Thu, 22 Jul 2010 12:27:26 +0000 (12:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    allegro.spec -> 1.71.2.21

allegro.spec

index d1c8c05db43917673e015522371d5664e952c522..3d7bcaf0a309c6b97d170ca7adf203a1351e9371 100644 (file)
@@ -456,9 +456,13 @@ biblioteki allegro.
 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}
 
This page took 0.132001 seconds and 4 git commands to generate.