summaryrefslogtreecommitdiff
path: root/meta/packages/pkgconfig
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-05 13:04:04 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:24 +0000
commit3a201d0d4b7b14eb4f0e29b1c1c5ad0647b0a3fc (patch)
tree51b4240ccd76900175055fd878a0fe614b2a1b5a /meta/packages/pkgconfig
parentcfc57fd144cbf35dc24359aa072eb6e1965adcbd (diff)
downloadopenembedded-core-3a201d0d4b7b14eb4f0e29b1c1c5ad0647b0a3fc.tar.gz
openembedded-core-3a201d0d4b7b14eb4f0e29b1c1c5ad0647b0a3fc.tar.bz2
openembedded-core-3a201d0d4b7b14eb4f0e29b1c1c5ad0647b0a3fc.tar.xz
openembedded-core-3a201d0d4b7b14eb4f0e29b1c1c5ad0647b0a3fc.zip
pkgconfig: Convert to BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/pkgconfig')
-rw-r--r--meta/packages/pkgconfig/pkgconfig-native_0.23.bb3
-rw-r--r--meta/packages/pkgconfig/pkgconfig-nativesdk_0.23.bb3
-rw-r--r--meta/packages/pkgconfig/pkgconfig.inc9
-rw-r--r--meta/packages/pkgconfig/pkgconfig_0.23.bb3
4 files changed, 9 insertions, 9 deletions
diff --git a/meta/packages/pkgconfig/pkgconfig-native_0.23.bb b/meta/packages/pkgconfig/pkgconfig-native_0.23.bb
deleted file mode 100644
index dc5e3fc15..000000000
--- a/meta/packages/pkgconfig/pkgconfig-native_0.23.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require pkgconfig.inc
-inherit native
-DEPENDS = ""
diff --git a/meta/packages/pkgconfig/pkgconfig-nativesdk_0.23.bb b/meta/packages/pkgconfig/pkgconfig-nativesdk_0.23.bb
deleted file mode 100644
index 7ceac3fda..000000000
--- a/meta/packages/pkgconfig/pkgconfig-nativesdk_0.23.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require pkgconfig.inc
-inherit nativesdk
-DEPENDS = ""
diff --git a/meta/packages/pkgconfig/pkgconfig.inc b/meta/packages/pkgconfig/pkgconfig.inc
index 58c6f90f1..e61760f9f 100644
--- a/meta/packages/pkgconfig/pkgconfig.inc
+++ b/meta/packages/pkgconfig/pkgconfig.inc
@@ -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"
diff --git a/meta/packages/pkgconfig/pkgconfig_0.23.bb b/meta/packages/pkgconfig/pkgconfig_0.23.bb
index 10ce0fc9c..d9ff6ea06 100644
--- a/meta/packages/pkgconfig/pkgconfig_0.23.bb
+++ b/meta/packages/pkgconfig/pkgconfig_0.23.bb
@@ -1,4 +1 @@
require pkgconfig.inc
-
-DEPENDS += "glib-2.0"
-EXTRA_OECONF = "--with-installed-glib"