################################################################################ # Abdoulaye Walsimou GAYE # Copyright(C) 2009-2011 Abdoulaye Walsimou GAYE. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # ################################################################################ # # \file pkgconfig.mk # \brief pkgconfig.mk of Embtoolkit # \author Abdoulaye Walsimou GAYE # \date October 2009 ################################################################################ PKGCONFIG_NAME := pkg-config PKGCONFIG_VERSION := $(call embtk_get_pkgversion,PKGCONFIG) PKGCONFIG_SITE := http://pkgconfig.freedesktop.org/releases PKGCONFIG_SITE_MIRROR3 := ftp://ftp.embtoolkit.org/embtoolkit.org/packages-mirror PKGCONFIG_PATCH_SITE := ftp://ftp.embtoolkit.org/embtoolkit.org/pkgconfig/$(PKGCONFIG_VERSION) PKGCONFIG_PACKAGE := pkg-config-$(PKGCONFIG_VERSION).tar.gz PKGCONFIG_SRC_DIR := $(TOOLS_BUILD)/pkg-config-$(PKGCONFIG_VERSION) PKGCONFIG_BUILD_DIR := $(TOOLS_BUILD)/pkg-config-$(PKGCONFIG_VERSION) PKGCONFIG_BIN := $(HOSTTOOLS)/usr/bin/pkg-config EMBTK_PKG_CONFIG_PATH := $(SYSROOT)/usr/$(LIBDIR)/pkgconfig EMBTK_PKG_CONFIG_LIBDIR := $(SYSROOT)/usr/$(LIBDIR)/pkgconfig EMBTK_HOST_PKG_CONFIG_PATH := $(HOSTTOOLS)/usr/lib/pkgconfig:/usr/lib/pkgconfig export PKGCONFIG_BIN EMBTK_PKG_CONFIG_PATH EMBTK_PKG_CONFIG_LIBDIR export EMBTK_HOST_PKG_CONFIG_PATH PKGCONFIG_PREFIX := /usr PKGCONFIG_DESTDIR := $(HOSTTOOLS) pkgconfig_install: $(call embtk_install_hostpkg,PKGCONFIG) download_pkgconfig: $(call embtk_download_pkg,PKGCONFIG)