summaryrefslogtreecommitdiffstats
path: root/meta/packages/pkgconfig
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-08-01 12:10:48 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-08-01 12:10:48 +0000
commitfeeffc3fdfa19d78255baac40cd17a96a5f8c030 (patch)
tree69226a5eab72c43f1a3be2957cd24fda55b767b5 /meta/packages/pkgconfig
parentae0fdfa071890eebd73b6ebd6ba197d3564853fe (diff)
downloadpoky-feeffc3fdfa19d78255baac40cd17a96a5f8c030.tar.gz
pkg-config: added 0.22 from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2260 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/pkgconfig')
-rw-r--r--meta/packages/pkgconfig/pkgconfig-0.22/glibconfig-sysdefs.h6
-rw-r--r--meta/packages/pkgconfig/pkgconfig-native_0.22.bb7
-rw-r--r--meta/packages/pkgconfig/pkgconfig_0.22.bb27
3 files changed, 40 insertions, 0 deletions
diff --git a/meta/packages/pkgconfig/pkgconfig-0.22/glibconfig-sysdefs.h b/meta/packages/pkgconfig/pkgconfig-0.22/glibconfig-sysdefs.h
new file mode 100644
index 0000000000..1329e7f21c
--- /dev/null
+++ b/meta/packages/pkgconfig/pkgconfig-0.22/glibconfig-sysdefs.h
@@ -0,0 +1,6 @@
1#define GLIB_SYSDEF_POLLIN =1
2#define GLIB_SYSDEF_POLLOUT =4
3#define GLIB_SYSDEF_POLLPRI =2
4#define GLIB_SYSDEF_POLLERR =8
5#define GLIB_SYSDEF_POLLHUP =16
6#define GLIB_SYSDEF_POLLNVAL =32
diff --git a/meta/packages/pkgconfig/pkgconfig-native_0.22.bb b/meta/packages/pkgconfig/pkgconfig-native_0.22.bb
new file mode 100644
index 0000000000..507a74b7d9
--- /dev/null
+++ b/meta/packages/pkgconfig/pkgconfig-native_0.22.bb
@@ -0,0 +1,7 @@
1SECTION = "console/utils"
2require pkgconfig_${PV}.bb
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}"
4
5S = "${WORKDIR}/pkg-config-${PV}/"
6inherit native
7DEPENDS = ""
diff --git a/meta/packages/pkgconfig/pkgconfig_0.22.bb b/meta/packages/pkgconfig/pkgconfig_0.22.bb
new file mode 100644
index 0000000000..28cf2c53f8
--- /dev/null
+++ b/meta/packages/pkgconfig/pkgconfig_0.22.bb
@@ -0,0 +1,27 @@
1SECTION = "console/utils"
2DESCRIPTION = "pkg-config is a system for managing library \
3compile/link flags that works with automake and autoconf. \
4It replaces the ubiquitous *-config scripts you may have \
5seen with a single tool."
6HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/"
7LICENSE = "GPL"
8
9SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
10 file://glibconfig-sysdefs.h"
11
12S = "${WORKDIR}/pkg-config-${PV}/"
13
14inherit autotools
15
16acpaths = "-I ."
17do_configure () {
18 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.8/
19 gnu-configize
20 libtoolize --force
21 oe_runconf
22}
23
24do_stage_prepend() {
25 install -d -m 0755 ${STAGING_DATADIR}/pkgconfig
26
27}