Re: Package with CMAKE based C library

2014-12-19 Thread Leopold Palomo-Avellaneda
El Dimarts, 21 d'octubre de 2014, a les 23:27:30, Werner Detter va escriure: Hi everybody, I want to package a library, developed in C (libcmime) which is based on cmake. If I'm right - there should be a) the main package libcmime /usr/lib/libcmime.so.0.1 (symlink to the next one)

Re: Package with CMAKE based C library

2014-12-19 Thread Peter Spiess-Knafl
I recently packaged a C++ library: http://mentors.debian.net/package/libjson-rpc-cpp Perhaps it helps. Regards, Peter On 10/21/2014 11:05 PM, Leopold Palomo-Avellaneda wrote: El Dimarts, 21 d'octubre de 2014, a les 23:27:30, Werner Detter va escriure: Hi everybody, I want to package a

Re: Package with CMAKE based C library

2014-10-22 Thread Johan Van de Wauw
Werner, I'd recommend using debhelper for a new package and not cdbs. Cmake is recognised normally, try with the minimal rules file: #!/usr/bin/make -f %: dh $@ Johan -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: Package with CMAKE based C library

2014-10-22 Thread Jakub Wilk
* ki7mt ki...@yahoo.com, 2014-10-21, 15:57: # CMakeLists.txt install target creates all the appropriate dir's override_dh_install: @echo '-' @echo ' Overiding: dh_install to NULL' @echo

Re: Package with CMAKE based C library

2014-10-22 Thread Johan Van de Wauw
On Wed, Oct 22, 2014 at 12:10 AM, Werner Detter wer...@aloah-from-hell.de wrote: It build's the package. So far, so good. But I'm still wondering what needs to be done to split the package into libcmime and libcmime-dev :) Add both to the debian/control file. Then add files libcmime.install

Re: Package with CMAKE based C library

2014-10-22 Thread Werner Detter
Hi John, thanks for your comments and your help. I'll switch back to dh and create the install files tonight and see if everything works as expected. Cheers, Werner -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: Package with CMAKE based C library

2014-10-22 Thread KI7MT
Hi Jakub, Thank you for the feedback. At present, this is a development package for testing, static linking to a custom built library (from an External CMake Project section in the main CMakeLists.txt ), which, dh_install was including at the install phases. The only way I could find to prevent

Package with CMAKE based C library

2014-10-21 Thread Werner Detter
Hi everybody, I want to package a library, developed in C (libcmime) which is based on cmake. If I'm right - there should be a) the main package libcmime /usr/lib/libcmime.so.0.1 (symlink to the next one) /usr/lib/libcmime.so.0.1.14 b) the dev package libcmime-dev /usr/lib/libcmime.so

Re: Package with CMAKE based C library

2014-10-21 Thread ki7mt
Hi Werner, I just finished working up a CMAKE package that has it's own install target and creates the appropriate directories, manpages etc. I used the basic dh_* Makefile, and did a couple overrides to account for things that were performed by the CMakeLists.txt file. It really depends on

Re: Package with CMAKE based C library

2014-10-21 Thread Werner Detter
Hi KI7MT, hi everybody thanks for your reply - I'm currently building the package with cdbs, debian/rules right now implements: #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk #include /usr/share/cdbs/1/rules/patchsys-quilt.mk include /usr/share/cdbs/1/class/cmake.mk #export