pkgconfig: Convert to BBCLASSEXTEND

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-11-05 13:04:04 +00:00
parent cfc57fd144
commit 3a201d0d4b
4 changed files with 9 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
require pkgconfig.inc
inherit native
DEPENDS = ""

View File

@@ -1,3 +0,0 @@
require pkgconfig.inc
inherit nativesdk
DEPENDS = ""

View File

@@ -7,6 +7,13 @@ HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/"
LICENSE = "GPL"
PR = "r7"
DEPENDS = "glib-2.0"
DEPENDS_virtclass-native = ""
DEPENDS_virtclass-nativesdk = ""
EXTRA_OECONF = "--with-installed-glib"
EXTRA_OECONF_virtclass-native = ""
EXTRA_OECONF_virtclass-nativesdk = ""
SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
file://autofoo.patch;patch=1 \
file://sysrootfix.patch;patch=1 \
@@ -24,3 +31,5 @@ do_configure_prepend () {
do_stage_prepend() {
install -d -m 0755 ${STAGING_LIBDIR}/pkgconfig
}
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,4 +1 @@
require pkgconfig.inc
DEPENDS += "glib-2.0"
EXTRA_OECONF = "--with-installed-glib"