Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= pkg-config
  5. PKG_VERSION:= 0.28
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= aa3c86e67551adc3ac865160e34a2a0d
  8. PKG_DESCR:= a helper tool used when compiling applications and libraries.
  9. PKG_SECTION:= lang
  10. PKG_DEPENDS:= glib libpopt
  11. PKG_BUILDDEP:= glib popt pkg-config-host
  12. PKG_URL:= http://pkg-config.freedesktop.org/wiki/
  13. PKG_SITES:= http://pkgconfig.freedesktop.org/releases/
  14. include $(TOPDIR)/mk/host.mk
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,PKG_CONFIG,pkg-config,$(PKG_VERSION)-${PKG_RELEASE}))
  17. $(eval $(call PKG_template,PKG_CONFIG,pkg-config,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. HOST_STYLE:= auto
  19. CONFIGURE_ARGS+= --with-installed-glib \
  20. --with-installed-popt
  21. pkg-config-install:
  22. $(INSTALL_DIR) $(IDIR_PKG_CONFIG)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/pkg-config \
  24. $(IDIR_PKG_CONFIG)/usr/bin
  25. include ${TOPDIR}/mk/host-bottom.mk
  26. include ${TOPDIR}/mk/pkg-bottom.mk