]> git.pld-linux.org Git - packages/lib765.git/commitdiff
- added bcond_without static libs
authorwitekfl <witekfl@pld-linux.org>
Tue, 14 Jun 2005 16:20:48 +0000 (16:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lib765.spec -> 1.13

lib765.spec

index 5933d845b36df5eade2c57ed4143204e5d9caf38..eda79c6f149915de602fdc1623061364669bf306 100644 (file)
@@ -1,3 +1,4 @@
+%bcond_without static_libs     # don't build static library
 Summary:       765 FDC library
 Summary(pl):   Biblioteka FDC 765
 Name:          lib765
@@ -69,7 +70,8 @@ Statyczna wersja biblioteki lib765.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -96,6 +98,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib765.la
 %{_includedir}/*.h
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
This page took 0.10735 seconds and 4 git commands to generate.