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
:=cabdf3c474529854f7ccce8573c5ac68ad34a7e621037535cbc3981f6b23836c
16 PKG_CPE_ID
:=cpe
:/a
:pkgconf
:pkgconf
18 include $(INCLUDE_DIR
)/host-build.mk
19 include $(INCLUDE_DIR
)/meson.mk
23 HOSTCC
:= $(HOSTCC_NOCACHE
)
26 -Ddefault_library
=static \
30 $(call Host
/Install
/Meson
)
31 mv
$(STAGING_DIR_HOST
)/bin
/pkgconf
$(STAGING_DIR_HOST
)/bin
/pkg-config.real
32 $(INSTALL_BIN
) .
/files
/pkg-config
$(STAGING_DIR_HOST
)/bin
/pkg-config
36 rm -f
$(STAGING_DIR_HOST
)/bin
/pkg-config.real
$(STAGING_DIR_HOST
)/bin
/pkg-config
37 $(call Host
/Clean
/Meson
)
40 $(eval
$(call HostBuild
))