Support for pkgconfig

View: New views
4 Messages — Rating Filter:   Alert me  

Support for pkgconfig

by alekcey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all,

Is it possible to add file libcrypto++.pc to cryptopp to make it
possible other
programs built with "-lcrypto++"?

For example libcrypto++.pc was added in Debian
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473090

and in ALTLinux
http://sisyphus.ru/ru/srpm/Sisyphus/libcryptopp/spec

If every distribution adds pkgconfig support may be it is make sense
to add it
in upstream?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---


Re: Support for pkgconfig

by Wei Dai :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I have no problem with doing that. (Well, except that I'm not familiar with
pkgconfig so I'll probably need help to maintain the file.) Is there a
version of libcrypto++.pc that is in the public domain?

--------------------------------------------------
From: "alekcey" <alekcejk@...>
Sent: Monday, October 26, 2009 7:55 PM
To: "Crypto++ Users" <cryptopp-users@...>
Subject: Support for pkgconfig

>
> Hi all,
>
> Is it possible to add file libcrypto++.pc to cryptopp to make it
> possible other
> programs built with "-lcrypto++"?
>
> For example libcrypto++.pc was added in Debian
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473090
>
> and in ALTLinux
> http://sisyphus.ru/ru/srpm/Sisyphus/libcryptopp/spec
>
> If every distribution adds pkgconfig support may be it is make sense
> to add it
> in upstream?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---


Re: Support for pkgconfig

by alekcey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I have no experience with pkgconfig http://en.wikipedia.org/wiki/Pkgconfig

Example of ALTLinux /usr/lib/pkgconfig/libcrypto++.pc here:

http://sisyphus.ru/ru/srpm/Sisyphus/libcryptopp/spec

Name: libcrypto++
Description: General purpose cryptographic shared library
URL: http://www.cryptopp.com
Version: 5.6.0
Requires:
Libs: -lcryptopp
Cflags:

But in Debian it is  slightly different because library name libcrypto+
+.so but in ALTLinux libcryptopp.so.
See deb file in http://packages.debian.org/lenny/libcrypto++-dev

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libcrypto++
Description: General purpose cryptographic shared library
URL: http://www.cryptopp.com
Version: 5.5.2
Requires:
Libs: -lcrypto++
Cflags:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---


Re: Support for pkgconfig

by alekcey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


In Fedora cryptopp.pc file will be added:

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libcrypto++
Description: General purpose cryptographic shared library
URL: http://www.cryptopp.com
Version: 5.6.0
Requires:
Libs: -lcryptopp
Cflags:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---