]> git.pld-linux.org Git - packages/allegro.git/commitdiff
- new cmake makro
authorKacper Kornet <draenog@pld-linux.org>
Thu, 3 Feb 2011 23:13:01 +0000 (23:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    allegro.spec -> 1.87

allegro.spec

index e44ee86ee86e1e0e2b5b719b6de1dfa44cc60c42..c6ef05a9f212a39ecfa7929288a4700bebcd4610 100644 (file)
@@ -36,6 +36,7 @@ BuildRequires:        libpng-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libvorbis-devel
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.577
 BuildRequires: sed >= 4.0
 %{?with_svga:BuildRequires:    svgalib-devel}
 BuildRequires: texinfo
@@ -345,19 +346,11 @@ sed -i -e 's/ADDON_LINKAGE STATIC/ADDON_LINKAGE SHARED/' CMakeLists.txt
 install -d build
 cd build
 %cmake .. \
-       -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-       -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
-       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-       -DCMAKE_VERBOSE_MAKEFILE=1 \
-       -DMANDIR=%{_mandir} \
        -DINFODIR=%{_infodir} \
        -DPLATFORM_LIBS=-ldl \
        -DWANT_LINUX_CONSOLE=1 \
        %{!?with_vga:-DWANT_LINUX_VGA=off} \
-       %{!?with_svga:-DWANT_LINUX_SVGALIB=off} \
-%if "%{_lib}" == "lib64"
-       -DLIB_SUFFIX=64
-%endif
+       %{!?with_svga:-DWANT_LINUX_SVGALIB=off}
 
 %{__make}
 
This page took 0.114899 seconds and 4 git commands to generate.