summaryrefslogtreecommitdiff
path: root/packages/pkgconfig
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-05 12:28:40 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-05 12:28:40 +0000
commit3b6670845387d2a377a09a0f5aaeacc06193553c (patch)
tree04df8244af20c5c038b1a501528e66c5dbe89e1c /packages/pkgconfig
parent1353defca25324ca0166f2d8a496407c92fd05f4 (diff)
pkgconfig: sync with poky
Diffstat (limited to 'packages/pkgconfig')
-rw-r--r--packages/pkgconfig/pkgconfig-native_0.22.bb9
-rw-r--r--packages/pkgconfig/pkgconfig.inc24
-rw-r--r--packages/pkgconfig/pkgconfig_0.15.0.bb2
-rw-r--r--packages/pkgconfig/pkgconfig_0.22.bb31
4 files changed, 35 insertions, 31 deletions
diff --git a/packages/pkgconfig/pkgconfig-native_0.22.bb b/packages/pkgconfig/pkgconfig-native_0.22.bb
index 507a74b7d9..5a5423058d 100644
--- a/packages/pkgconfig/pkgconfig-native_0.22.bb
+++ b/packages/pkgconfig/pkgconfig-native_0.22.bb
@@ -1,7 +1,14 @@
SECTION = "console/utils"
-require pkgconfig_${PV}.bb
+require pkgconfig.inc
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}"
S = "${WORKDIR}/pkg-config-${PV}/"
inherit native
DEPENDS = ""
+
+do_configure() {
+ gnu-configize
+ libtoolize --force
+ oe_runconf
+}
+ \ No newline at end of file
diff --git a/packages/pkgconfig/pkgconfig.inc b/packages/pkgconfig/pkgconfig.inc
new file mode 100644
index 0000000000..47c077a8d3
--- /dev/null
+++ b/packages/pkgconfig/pkgconfig.inc
@@ -0,0 +1,24 @@
+SECTION = "console/utils"
+DESCRIPTION = "pkg-config is a system for managing library \
+compile/link flags that works with automake and autoconf. \
+It replaces the ubiquitous *-config scripts you may have \
+seen with a single tool."
+HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/"
+LICENSE = "GPL"
+PR = "r1"
+
+SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
+ file://glibconfig-sysdefs.h"
+
+S = "${WORKDIR}/pkg-config-${PV}/"
+
+inherit autotools
+
+acpaths = "-I ."
+do_configure_prepend () {
+ install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.8/
+}
+
+do_stage_prepend() {
+ install -d -m 0755 ${STAGING_DATADIR}/pkgconfig
+}
diff --git a/packages/pkgconfig/pkgconfig_0.15.0.bb b/packages/pkgconfig/pkgconfig_0.15.0.bb
index 68d6a9917d..31fc7820fe 100644
--- a/packages/pkgconfig/pkgconfig_0.15.0.bb
+++ b/packages/pkgconfig/pkgconfig_0.15.0.bb
@@ -12,7 +12,7 @@ SRC_URI = "http://www.freedesktop.org/software/pkgconfig/releases/pkgconfig-${PV
file://pkg.m4 \
file://glibconfig-sysdefs.h"
-inherit autotools
+inherit autotools
acpaths = "-I ."
do_configure_prepend () {
diff --git a/packages/pkgconfig/pkgconfig_0.22.bb b/packages/pkgconfig/pkgconfig_0.22.bb
index f634a87940..599e1c815e 100644
--- a/packages/pkgconfig/pkgconfig_0.22.bb
+++ b/packages/pkgconfig/pkgconfig_0.22.bb
@@ -1,30 +1,3 @@
-SECTION = "console/utils"
-DESCRIPTION = "pkg-config is a system for managing library \
-compile/link flags that works with automake and autoconf. \
-It replaces the ubiquitous *-config scripts you may have \
-seen with a single tool."
-HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/"
-LICENSE = "GPL"
-PR = "r0"
+require pkgconfig.inc
-DEFAULT_PREFERENCE = "-1"
-
-SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
- file://glibconfig-sysdefs.h"
-
-S = "${WORKDIR}/pkg-config-${PV}/"
-
-inherit autotools
-
-acpaths = "-I ."
-do_configure () {
- install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.8/
- gnu-configize
- libtoolize --force
- oe_runconf
-}
-
-do_stage_prepend() {
- install -d -m 0755 ${STAGING_DATADIR}/pkgconfig
-
-}
+SRC_URI += "file://autofoo.patch;patch=1"