summaryrefslogtreecommitdiff
path: root/recipes/pkgconfig/pkgconfig.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pkgconfig/pkgconfig.inc')
-rw-r--r--recipes/pkgconfig/pkgconfig.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/pkgconfig/pkgconfig.inc b/recipes/pkgconfig/pkgconfig.inc
new file mode 100644
index 0000000000..939199bc37
--- /dev/null
+++ b/recipes/pkgconfig/pkgconfig.inc
@@ -0,0 +1,26 @@
+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 = "r7"
+
+SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
+ file://autofoo.patch;patch=1 \
+ file://sysrootfix.patch;patch=1 \
+ file://glibconfig-sysdefs.h"
+
+S = "${WORKDIR}/pkg-config-${PV}/"
+
+inherit autotools
+
+acpaths = "-I ."
+do_configure_prepend () {
+ install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.*/
+}
+
+do_stage_prepend() {
+ install -d -m 0755 ${STAGING_LIBDIR}/pkgconfig
+}