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 @@ | |||
1 | DESCRIPTION = "pkg-config is a system for managing library \ | ||
2 | compile/link flags that works with automake and autoconf. \ | ||
3 | It replaces the ubiquitous *-config scripts you may have \ | ||
4 | seen with a single tool." | ||
5 | HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/" | ||
6 | BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=pkg-config" | ||
7 | SECTION = "console/utils" | ||
8 | |||
9 | LICENSE = "GPLv2+" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
11 | |||
12 | DEPENDS = "glib-2.0 popt" | ||
13 | DEPENDS_virtclass-native = "" | ||
14 | DEPENDS_virtclass-nativesdk = "" | ||
15 | |||
16 | SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \ | ||
17 | file://autofoo.patch \ | ||
18 | file://glibconfig-sysdefs.h \ | ||
19 | file://disable-legacy.patch" | ||
20 | |||
21 | S = "${WORKDIR}/pkg-config-${PV}/" | ||
22 | |||
23 | inherit autotools | ||
24 | |||
25 | EXTRA_OECONF = "--with-installed-glib --with-installed-popt --disable-legacy-scripts" | ||
26 | EXTRA_OECONF_virtclass-native = "--disable-legacy-scripts" | ||
27 | EXTRA_OECONF_virtclass-nativesdk = "--disable-legacy-scripts" | ||
28 | |||
29 | acpaths = "-I ." | ||
30 | do_configure_prepend () { | ||
31 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.10/ | ||
32 | } | ||
33 | |||
34 | BBCLASSEXTEND = "native nativesdk" | ||