SPECS: see.spec - added bcond_without static_libs
witekfl
witekfl at pld-linux.org
Mon Jul 23 19:35:13 CEST 2007
Author: witekfl Date: Mon Jul 23 17:35:13 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
---- Files affected:
SPECS:
see.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/see.spec
diff -u SPECS/see.spec:1.12 SPECS/see.spec:1.13
--- SPECS/see.spec:1.12 Sat Mar 3 15:04:44 2007
+++ SPECS/see.spec Mon Jul 23 19:35:08 2007
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Simple ECMAScript Engine
Summary(pl.UTF-8): Prosty "silnik" ECMAScriptu
Name: see
@@ -60,7 +64,9 @@
%{__autoconf}
%{__automake}
%{__autoheader}
-%configure CPPFLAGS="$CPPFLAGS -I/usr/include/gc"
+%configure \
+ CPPFLAGS="$CPPFLAGS -I/usr/include/gc" \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -89,9 +95,11 @@
%{_libdir}/lib*.la
%{_includedir}/see
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -99,6 +107,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2007/07/23 17:35:08 witekfl
+- added bcond_without static_libs
+
Revision 1.12 2007/03/03 14:04:44 witekfl
- use full version 2.0.1131 instead of 2.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/see.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list