2019-11-28 19:19:31 +00:00
|
|
|
#
|
2016-03-10 19:11:36 +00:00
|
|
|
# Copyright (C) 2006-2016 OpenWrt.org
|
2007-10-06 23:50:47 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2019-11-28 19:19:31 +00:00
|
|
|
PKG_NAME:=pkgconf
|
|
|
|
PKG_VERSION:=1.6.3
|
2007-10-06 23:50:47 +00:00
|
|
|
|
2019-11-28 19:19:31 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
|
|
PKG_SOURCE_URL:=https://distfiles.dereferenced.org/pkgconf
|
|
|
|
PKG_HASH:=61f0b31b0d5ea0e862b454a80c170f57bad47879c0c42bd8de89200ff62ea210
|
2007-10-06 23:50:47 +00:00
|
|
|
|
2012-09-15 14:17:37 +00:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
2007-10-06 23:50:47 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2013-10-28 15:15:12 +00:00
|
|
|
unexport PKG_CONFIG
|
|
|
|
|
2009-02-22 04:37:20 +00:00
|
|
|
define Host/Install
|
2015-02-06 00:00:43 +00:00
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR) install
|
2019-11-28 19:19:31 +00:00
|
|
|
mv $(STAGING_DIR_HOST)/bin/pkgconf $(STAGING_DIR_HOST)/bin/pkg-config.real
|
2007-10-06 23:50:47 +00:00
|
|
|
$(INSTALL_BIN) ./files/pkg-config $(STAGING_DIR_HOST)/bin/pkg-config
|
|
|
|
endef
|
|
|
|
|
2009-02-22 04:37:20 +00:00
|
|
|
define Host/Clean
|
2009-05-08 20:44:47 +00:00
|
|
|
-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
|
2009-02-22 04:37:20 +00:00
|
|
|
$(call Host/Clean/Default)
|
2007-10-06 23:50:47 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|