]> git.pld-linux.org Git - packages/esmart.git/commitdiff
- bcond static_libs
authorKarol Krenski <charles@pld-linux.org>
Wed, 30 Nov 2005 14:00:55 +0000 (14:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    esmart.spec -> 1.7

esmart.spec

index 23dee161e10986ed5209ff514f4f759295c47bf1..f517fdc3999b561d7de5c6b6f48257a8d589a1a5 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static library
+#
 Summary:       Evas "smart objects"
 Summary(pl):   "Inteligentne obiekty" Evas
 Name:          esmart
@@ -74,7 +78,8 @@ Statyczne biblioteki Esmart.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -113,7 +118,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/Esmart/Esmart_*
 %{_pkgconfigdir}/esmart.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libesmart_*.a
 %{_libdir}/%{name}/layout/*.a
+%endif
This page took 0.073064 seconds and 4 git commands to generate.