2 # Copyright (C) 2006 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.gz
13 PKG_SOURCE_URL
:=http
://pkgconfig.freedesktop.org
/releases
/
14 PKG_MD5SUM
:=a3270bab3f4b69b7dc6dbdacbcae9745
16 include $(INCLUDE_DIR
)/host-build.mk
19 $(MAKE
) -C
$(HOST_BUILD_DIR
)
23 $(MAKE
) -C
$(HOST_BUILD_DIR
) \
25 mv
$(STAGING_DIR_HOST
)/bin
/pkg-config
$(STAGING_DIR_HOST
)/bin
/pkg-config.real
26 $(INSTALL_BIN
) .
/files
/pkg-config
$(STAGING_DIR_HOST
)/bin
/pkg-config
27 $(INSTALL_DATA
) $(HOST_BUILD_DIR
)/pkg.m4
$(STAGING_DIR
)/host
/share
/aclocal
/
31 -$(MAKE
) -C
$(HOST_BUILD_DIR
) uninstall
32 $(call Host
/Clean
/Default
)
35 $(eval
$(call HostBuild
))