]> git.pld-linux.org Git - packages/libcroco.git/commitdiff
- added bcond_without static_libs
authorwitekfl <witekfl@pld-linux.org>
Wed, 15 Jun 2005 18:03:01 +0000 (18:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libcroco.spec -> 1.15

libcroco.spec

index 0260f73ee05453b65b677c161b5836ed5e86f91c..d552887cb44d09b5a21f2cdecdb3de00fa6189aa 100644 (file)
@@ -1,6 +1,7 @@
 #
 %define        _mver   0.6
 #
+%bcond_without static_libs     # don't build static library
 Summary:       A CSS2 parsing library
 Summary(pl):   Biblioteka analizujĀ±ca CSS2
 Name:          libcroco
@@ -65,7 +66,8 @@ Statyczna wersja biblioteki libcroco.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -101,6 +103,8 @@ rm -rf $RPM_BUILD_ROOT
 #%%{_mandir}/man1/croco-config.1*
 %{_examplesdir}/%{name}-%{version}
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
This page took 0.067652 seconds and 4 git commands to generate.