pkg-config: added 0.22 from OE

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2260 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2007-08-01 12:10:48 +00:00
parent ae0fdfa071
commit feeffc3fdf
3 changed files with 40 additions and 0 deletions

View File

@@ -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

View File

@@ -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 = ""

View File

@@ -0,0 +1,27 @@
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"
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
}