diff options
Diffstat (limited to 'meta/recipes-devtools/pkgconfig/pkgconfig.inc')
-rw-r--r-- | meta/recipes-devtools/pkgconfig/pkgconfig.inc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig.inc b/meta/recipes-devtools/pkgconfig/pkgconfig.inc new file mode 100644 index 0000000000..c0e748173d --- /dev/null +++ b/meta/recipes-devtools/pkgconfig/pkgconfig.inc @@ -0,0 +1,34 @@ +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/" +BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=pkg-config" +SECTION = "console/utils" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +DEPENDS = "glib-2.0 popt" +DEPENDS_virtclass-native = "" +DEPENDS_virtclass-nativesdk = "" + +SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \ + file://autofoo.patch \ + file://glibconfig-sysdefs.h \ + file://disable-legacy.patch" + +S = "${WORKDIR}/pkg-config-${PV}/" + +inherit autotools + +EXTRA_OECONF = "--with-installed-glib --with-installed-popt --disable-legacy-scripts" +EXTRA_OECONF_virtclass-native = "--disable-legacy-scripts" +EXTRA_OECONF_virtclass-nativesdk = "--disable-legacy-scripts" + +acpaths = "-I ." +do_configure_prepend () { + install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.10/ +} + +BBCLASSEXTEND = "native nativesdk" |