diff options
author | Philip Balister <philip@balister.org> | 2007-07-24 17:27:37 +0000 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2007-07-24 17:27:37 +0000 |
commit | 73f379bfe6a14336fb79e00225180c225e60c33a (patch) | |
tree | 7d7d0b3ebd4f0f2b00dfcdefd58c4fce5014a4b2 /packages/pkgconfig | |
parent | 45580d9964623161469e09e2e46150672d2dc7a9 (diff) | |
parent | 13c300738c6a70493554efcda0a6705d44155152 (diff) |
merge of '81786bc5eee231cdb9c16dff4db1629456df1461'
and 'e23d2e22f6c7c6ea4e507a9c6642f0c2d78b4129'
Diffstat (limited to 'packages/pkgconfig')
-rw-r--r-- | packages/pkgconfig/pkgconfig-0.22/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/pkgconfig/pkgconfig-0.22/glibconfig-sysdefs.h | 6 | ||||
-rw-r--r-- | packages/pkgconfig/pkgconfig-native_0.22.bb | 7 | ||||
-rw-r--r-- | packages/pkgconfig/pkgconfig_0.22.bb | 30 |
4 files changed, 43 insertions, 0 deletions
diff --git a/packages/pkgconfig/pkgconfig-0.22/.mtn2git_empty b/packages/pkgconfig/pkgconfig-0.22/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/pkgconfig/pkgconfig-0.22/.mtn2git_empty diff --git a/packages/pkgconfig/pkgconfig-0.22/glibconfig-sysdefs.h b/packages/pkgconfig/pkgconfig-0.22/glibconfig-sysdefs.h new file mode 100644 index 0000000000..1329e7f21c --- /dev/null +++ b/packages/pkgconfig/pkgconfig-0.22/glibconfig-sysdefs.h @@ -0,0 +1,6 @@ +#define GLIB_SYSDEF_POLLIN =1 +#define GLIB_SYSDEF_POLLOUT =4 +#define GLIB_SYSDEF_POLLPRI =2 +#define GLIB_SYSDEF_POLLERR =8 +#define GLIB_SYSDEF_POLLHUP =16 +#define GLIB_SYSDEF_POLLNVAL =32 diff --git a/packages/pkgconfig/pkgconfig-native_0.22.bb b/packages/pkgconfig/pkgconfig-native_0.22.bb new file mode 100644 index 0000000000..507a74b7d9 --- /dev/null +++ b/packages/pkgconfig/pkgconfig-native_0.22.bb @@ -0,0 +1,7 @@ +SECTION = "console/utils" +require pkgconfig_${PV}.bb +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}" + +S = "${WORKDIR}/pkg-config-${PV}/" +inherit native +DEPENDS = "" diff --git a/packages/pkgconfig/pkgconfig_0.22.bb b/packages/pkgconfig/pkgconfig_0.22.bb new file mode 100644 index 0000000000..f634a87940 --- /dev/null +++ b/packages/pkgconfig/pkgconfig_0.22.bb @@ -0,0 +1,30 @@ +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" + +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 + +} |