2006-07-09 01:55:55 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# pkgconfig
|
|
|
|
#
|
|
|
|
#############################################################
|
2011-01-29 22:06:28 +01:00
|
|
|
PKG_CONFIG_VERSION = 0.25
|
2009-03-19 09:30:20 +01:00
|
|
|
PKG_CONFIG_SOURCE = pkg-config-$(PKG_CONFIG_VERSION).tar.gz
|
|
|
|
PKG_CONFIG_SITE = http://pkgconfig.freedesktop.org/releases/
|
2009-03-18 20:18:45 +01:00
|
|
|
|
2009-09-02 17:02:02 +02:00
|
|
|
PKG_CONFIG_DEPENDENCIES = libglib2
|
2006-07-09 01:55:55 +02:00
|
|
|
|
2009-03-19 09:30:20 +01:00
|
|
|
PKG_CONFIG_CONF_OPT = --with-installed-glib
|
2006-07-09 01:55:55 +02:00
|
|
|
|
2009-10-27 23:15:09 +01:00
|
|
|
HOST_PKG_CONFIG_CONF_OPT = \
|
2011-03-27 21:20:04 +02:00
|
|
|
--with-pc-path="$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig" \
|
2011-01-30 00:33:00 +01:00
|
|
|
--with-sysroot="$(STAGING_DIR)" \
|
2009-10-27 23:15:09 +01:00
|
|
|
--disable-static
|
2006-07-09 01:55:55 +02:00
|
|
|
|
2011-01-30 00:33:00 +01:00
|
|
|
HOST_PKG_CONFIG_AUTORECONF = YES
|
|
|
|
|
2009-10-27 23:15:09 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,pkg-config))
|
|
|
|
$(eval $(call AUTOTARGETS,package,pkg-config,host))
|
2006-07-09 01:55:55 +02:00
|
|
|
|
2009-10-27 23:15:09 +01:00
|
|
|
PKG_CONFIG_HOST_BINARY:=$(HOST_DIR)/usr/bin/pkg-config
|