2 # Copyright (C) 2006-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
13 PKG_SOURCE_URL
:=https
://distfiles.dereferenced.org
/pkgconf
14 PKG_HASH
:=b846aea51cf696c3392a0ae58bef93e2e72f8e7073ca6ad1ed8b01c85871f9c0
16 HOST_BUILD_PARALLEL
:=1
18 include $(INCLUDE_DIR
)/host-build.mk
23 $(MAKE
) -C
$(HOST_BUILD_DIR
) install
24 mv
$(STAGING_DIR_HOST
)/bin
/pkgconf
$(STAGING_DIR_HOST
)/bin
/pkg-config.real
25 $(INSTALL_BIN
) .
/files
/pkg-config
$(STAGING_DIR_HOST
)/bin
/pkg-config
29 -$(MAKE
) -C
$(HOST_BUILD_DIR
) uninstall
30 $(call Host
/Clean
/Default
)
33 $(eval
$(call HostBuild
))