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
:=ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf
16 include $(INCLUDE_DIR
)/host-build.mk
17 include $(INCLUDE_DIR
)/meson.mk
21 HOSTCC
:= $(HOSTCC_NOCACHE
)
24 -Ddefault_library
=static \
28 $(call Host
/Install
/Meson
)
29 mv
$(STAGING_DIR_HOST
)/bin
/pkgconf
$(STAGING_DIR_HOST
)/bin
/pkg-config.real
30 $(INSTALL_BIN
) .
/files
/pkg-config
$(STAGING_DIR_HOST
)/bin
/pkg-config
34 rm -f
$(STAGING_DIR_HOST
)/bin
/pkg-config.real
$(STAGING_DIR_HOST
)/bin
/pkg-config
35 $(call Host
/Clean
/Meson
)
38 $(eval
$(call HostBuild
))