Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7665 - in /trunk/sat-solver: package/libsatsolver.spec.in src/CMakeLists.txt
  • From: dmacvicar@xxxxxxxxxxxxxxxx
  • Date: Fri, 26 Oct 2007 16:50:05 -0000
  • Message-id: <20071026165005.B1D0A1739F@xxxxxxxxxxxxxxxx>
Author: dmacvicar
Date: Fri Oct 26 18:50:05 2007
New Revision: 7665

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7665&view=rev
Log:
- install the libraries

Modified:
trunk/sat-solver/package/libsatsolver.spec.in
trunk/sat-solver/src/CMakeLists.txt

Modified: trunk/sat-solver/package/libsatsolver.spec.in
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/package/libsatsolver.spec.in?rev=7665&r1=7664&r2=7665&view=diff
==============================================================================
--- trunk/sat-solver/package/libsatsolver.spec.in (original)
+++ trunk/sat-solver/package/libsatsolver.spec.in Fri Oct 26 18:50:05 2007
@@ -35,7 +35,7 @@
%build
mkdir build
cd build
-cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLIB=%{_lib} \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
@@ -66,7 +66,7 @@
%doc doc/THEORY
%doc doc/PLANNING
%dir %{_includedir}/satsolver
-#%{_includedir}/satsolver/*
+%{_includedir}/satsolver/*

%files ruby
%defattr(-,root,root,-)

Modified: trunk/sat-solver/src/CMakeLists.txt
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/CMakeLists.txt?rev=7665&r1=7664&r2=7665&view=diff
==============================================================================
--- trunk/sat-solver/src/CMakeLists.txt (original)
+++ trunk/sat-solver/src/CMakeLists.txt Fri Oct 26 18:50:05 2007
@@ -4,5 +4,7 @@

ADD_LIBRARY(satsolver STATIC ${libsatsolver_SRCS})

-#SET(libsatsolver_HEADERS bitmap.h evr.h hash.h poolarch.h pool.h poolid.h
pooltypes.h queue.h solvable.h solver.h source.h source_solv.h util.h )
-#INSTALL( FILES ${libsatsolver_HEADERS} DESTINATION
"${CMAKE_INSTALL_PREFIX}/include/satsolver" )
+SET(libsatsolver_HEADERS bitmap.h evr.h hash.h poolarch.h pool.h poolid.h
pooltypes.h queue.h solvable.h solver.h source.h source_solv.h util.h )
+
+INSTALL( FILES ${libsatsolver_HEADERS} DESTINATION
"${CMAKE_INSTALL_PREFIX}/include/satsolver" )
+INSTALL(TARGETS satsolver LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE
DESTINATION ${LIB_INSTALL_DIR})
\ No newline at end of file

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages