Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= pkgconf
  5. PKG_VERSION:= 0.9.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= babb4e02f0fb8f4044ee95ad2241a676
  8. PKG_DESCR:= smart pkg-config replacement
  9. PKG_SECTION:= lang
  10. PKG_URL:= https://github.com/pkgconf/pkgconf
  11. PKG_SITES:= http://rabbit.dereferenced.org/~nenolod/distfiles/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. include $(TOPDIR)/mk/host.mk
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call HOST_template,PKGCONF,pkgconf,$(PKG_VERSION)-${PKG_RELEASE}))
  16. $(eval $(call PKG_template,PKGCONF,pkgconf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. HOST_STYLE:= auto
  18. hostpost-install:
  19. (cd $(STAGING_HOST_DIR)/usr/bin && ln -sf pkgconf pkg-config)
  20. (cd $(STAGING_HOST_DIR)/usr/bin && ln -sf pkgconf $(GNU_TARGET_NAME)-pkg-config)
  21. pkgconf-install:
  22. $(INSTALL_DIR) $(IDIR_PKGCONF)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/pkgconf \
  24. $(IDIR_PKGCONF)/usr/bin
  25. (cd $(IDIR_PKGCONF)/usr/bin && ln -sf pkgconf pkg-config)
  26. include ${TOPDIR}/mk/host-bottom.mk
  27. include ${TOPDIR}/mk/pkg-bottom.mk