]> git.pld-linux.org Git - packages/libshout.git/commitdiff
- added bcond_without static_libs auto/ti/libshout-2_2_2-1
authorwitekfl <witekfl@pld-linux.org>
Tue, 28 Aug 2007 17:55:51 +0000 (17:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libshout.spec -> 1.27

libshout.spec

index bf26ed93e0d087df1ffcac9215a12e6ff7b76474..cda348c3ae4e608eea7aa87141a3f3e9770b972b 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static libraries
+#
 Summary:       libshout - icecast source streaming library
 Summary(pl.UTF-8):     Biblioteka źródeł strumieni icecast
 Name:          libshout
@@ -70,7 +74,8 @@ Statyczna biblioteka libshout - źródeł strumieni icecast.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -103,6 +108,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_aclocaldir}/shout.m4
 %{_examplesdir}/%{name}-%{version}
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
- %{_libdir}/lib*.a
+%{_libdir}/lib*.a
+%endif
This page took 0.072921 seconds and 4 git commands to generate.