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
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)
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 i
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 listmas...@
On Wed, Oct 22, 2014 at 12:10 AM, Werner Detter
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 and libcmime-dev.insta
* ki7mt , 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 '
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 lis
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 DH
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
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 (s
10 matches
Mail list logo