summaryrefslogtreecommitdiff
path: root/meta/packages/pkgconfig/pkgconfig.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-01 19:11:11 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-01 19:11:11 +0000
commit75825af40256d3990bb18a7de9685f249d9f833f (patch)
tree429b2962859d5779fc2929df5006e0c87b925ae4 /meta/packages/pkgconfig/pkgconfig.inc
parent7944fb200e56ea888c48e971c5af7e074f59f71a (diff)
downloadopenembedded-core-75825af40256d3990bb18a7de9685f249d9f833f.tar.gz
openembedded-core-75825af40256d3990bb18a7de9685f249d9f833f.tar.bz2
openembedded-core-75825af40256d3990bb18a7de9685f249d9f833f.zip
pkgconfig: Fix compile issues for non-native version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2301 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/pkgconfig/pkgconfig.inc')
-rw-r--r--meta/packages/pkgconfig/pkgconfig.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/packages/pkgconfig/pkgconfig.inc b/meta/packages/pkgconfig/pkgconfig.inc
new file mode 100644
index 0000000000..47c077a8d3
--- /dev/null
+++ b/meta/packages/pkgconfig/pkgconfig.inc
@@ -0,0 +1,24 @@
+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 = "r1"
+
+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_prepend () {
+ install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.8/
+}
+
+do_stage_prepend() {
+ install -d -m 0755 ${STAGING_DATADIR}/pkgconfig
+}