libgalago: Fix pkgconfig, use autotools_stage_all

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4085 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-03-19 22:46:34 +00:00
parent 72e2faa464
commit b1d71fa325
2 changed files with 18 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
Index: libgalago-0.5.2/libgalago.pc.in
===================================================================
--- libgalago-0.5.2.orig/libgalago.pc.in 2006-05-17 08:53:26.000000000 +0100
+++ libgalago-0.5.2/libgalago.pc.in 2008-03-19 22:34:16.000000000 +0000
@@ -6,6 +6,7 @@
Name: libgalago
Description: Galago Association/Presence Communication Library
Version: @VERSION@
-Libs: -L${libdir} -lgalago @PACKAGE_LIBS@
-Cflags: -I${includedir} @PACKAGE_CFLAGS@
+Requires: dbus-1 glib-2.0 dbus-glib-1
+Libs: -L${libdir} -lgalago
+Cflags: -I${includedir}

View File

@@ -3,14 +3,14 @@ HOMEPAGE = "http://www.galago-project.org/"
LICENSE = "LGPL"
DEPENDS = "gettext dbus glib-2.0"
SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz "
SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz \
file://pkgconfig.patch;patch=1 "
PR = "r1"
inherit autotools pkgconfig
EXTRA_OECONF = "--disable-tests --disable-check"
do_stage() {
autotools_stage_includes
install -d ${STAGING_LIBDIR}
install -m 755 libgalago/.libs/libgalago.so.3.0.0 ${STAGING_LIBDIR}/libgalago.so
autotools_stage_all
}