Author: malat Date: 2012-07-16 14:51:32 +0000 (Mon, 16 Jul 2012) New Revision: 11818
Modified: trunk/packages/camitk/trunk/debian/control trunk/packages/camitk/trunk/debian/rules Log: Add template code for splitting lib/dev/app Modified: trunk/packages/camitk/trunk/debian/control =================================================================== --- trunk/packages/camitk/trunk/debian/control 2012-07-16 14:35:48 UTC (rev 11817) +++ trunk/packages/camitk/trunk/debian/control 2012-07-16 14:51:32 UTC (rev 11818) @@ -11,10 +11,32 @@ Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/camitk/trunk/ Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/camitk/trunk/ -Package: camitk +Package: libcamitk-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Computer Assisted Medical Intervention Tool Kit Helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations. + . + This is the app + +Package: libcamitk3.0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Computer Assisted Medical Intervention Tool Kit + Helps researchers and clinicians to easily and rapidly collaborate in + order to prototype CAMI applications, that feature medical images, + surgical navigation and biomechanical simulations. + . + This is the lib + +Package: libcamitk3-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Computer Assisted Medical Intervention Tool Kit + Helps researchers and clinicians to easily and rapidly collaborate in + order to prototype CAMI applications, that feature medical images, + surgical navigation and biomechanical simulations. + . + This is the dev Modified: trunk/packages/camitk/trunk/debian/rules =================================================================== --- trunk/packages/camitk/trunk/debian/rules 2012-07-16 14:35:48 UTC (rev 11817) +++ trunk/packages/camitk/trunk/debian/rules 2012-07-16 14:51:32 UTC (rev 11818) @@ -15,6 +15,20 @@ override_dh_auto_configure: dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) +SOVERSION=3.0 +VER_MAJOR=3 + +pkg_lib = libcamitk$(SOVERSION) +pkg_dev = libcamitk$(VER_MAJOR)-dev +pkg_app = libcamitk-tools + +override_dh_install: + dh_install -p$(pkg_app) debian/tmp/usr/bin usr/bin + #dh_install -p$(pkg_lib) debian/tmp/usr/lib/lib*.so.* usr/lib # FIXME + dh_install -p$(pkg_dev) debian/tmp/usr/lib/lib*.so usr/lib + dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include + dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/camitk-$(SOVERSION)/cmake/*.cmake + # see http://lists.debian.org/debian-mentors/2012/07/msg00124.html get-orig-source: PERL_LWP_SSL_VERIFY_HOSTNAME=0 uscan --rename --verbose --force-download --destdir=../tarballs _______________________________________________ debian-med-commit mailing list debian-med-commit@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit