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
:=3a224f2accf091b77a5781316e27b9ee3ba82c083cc2e539e08940b68a44fec5
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
))