diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-10 07:10:44 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-10 07:10:44 +0000 |
| commit | 0e9455bc58f89d242b4e58ed00fe88835833a412 (patch) | |
| tree | 2156e6580546cc754b7d7e1e14054e53ba60b112 /source | |
| parent | 759d8e415e541b0aac7a2ef7df909a770f58e851 (diff) | |
| download | qxmpp-0e9455bc58f89d242b4e58ed00fe88835833a412.tar.gz | |
add a pkg-config file for qxmpp
Diffstat (limited to 'source')
| -rw-r--r-- | source/qxmpp.pc | 11 | ||||
| -rw-r--r-- | source/source.pro | 9 |
2 files changed, 17 insertions, 3 deletions
diff --git a/source/qxmpp.pc b/source/qxmpp.pc new file mode 100644 index 00000000..3c8483e8 --- /dev/null +++ b/source/qxmpp.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include/qxmpp + +Name: QXmpp +Description: QXmpp library +Version: 0.2.0 +Requires: QtCore QtGui QtNetwork QtXml +Libs: -L${libdir} -lqxmpp +Cflags: -I${includedir} diff --git a/source/source.pro b/source/source.pro index 84149ccf..e7961bd5 100644 --- a/source/source.pro +++ b/source/source.pro @@ -109,7 +109,10 @@ SOURCES += QXmppUtils.cpp \ xmlrpc.cpp # Installation +PREFIX = /usr headers.files = $$HEADERS -headers.path = /usr/include/qxmpp -target.path = /usr/lib -INSTALLS += headers target +headers.path = $$PREFIX/include/qxmpp +pkgconfig.files = qxmpp.pc +pkgconfig.path = $$PREFIX/lib/pkgconfig +target.path = $$PREFIX/lib +INSTALLS += headers pkgconfig target |
